aspose file tools*
The moose likes Beginning Java and the fly likes moving files to different folders Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "moving files to different folders" Watch "moving files to different folders" New topic
Author

moving files to different folders

stone aiden
Greenhorn

Joined: Mar 01, 2010
Posts: 4
Can anyone show me how to check files and move files from one folder to another if they dont exists in another folder. I would appreciate if you could also show me a code to do this.

My code is moving the entire folder though i want to move only the files.

Thanks
nuko
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18101
    
  39


If you showed us what you did so far, maybe we can give you a hint in the right direction.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
stone aiden
Greenhorn

Joined: Mar 01, 2010
Posts: 4
This is my code


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

"stone iidol", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
stone aiden
Greenhorn

Joined: Mar 01, 2010
Posts: 4
How do i check my private messages???
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

stone iidol wrote:How do i check my private messages???

Click on the link named "My private messages"
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: moving files to different folders
 
Similar Threads
File/directory listeners
Selection of only modified files
the position of component in applet
io Problem ..moving the files one directory to another
Moving files (urgent)