I’m trying to write a code in Java which can move a specificsize file to a folder.
Example: I want to move all files having size more than 500KB toanother folder.
I have written a code to move a file but it’ll only move filewith specific name.
My code:
package MoveFile;import java.io.BufferedReader;import java.io.File;import java.io.FileReader;import java.io.FileWriter;import java.io.IOException;import java.io.PrintWriter;public class MoveFile { public static void main(String[] args) { File oldfile = new File(“C:UsersPedroEDesktopTestHello”); File newfile = new File(“C:UsersPedroEDesktopTestMoveHello”); BufferedReader
PayPal Gateway not configured
PayPal Gateway not configured