Skip to content

Instantly share code, notes, and snippets.

Created Jan 28, 2019
What would you like to do?
Move downloaded file to test directory
public static boolean moveFile(File file, String destination){
File existingFile = new File(destination);
return file.renameTo(new File(destination));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment