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
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: 18896
    
  40


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: 61437
    
  67

"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: 61437
    
  67

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

Click on the link named "My private messages"
 
wood burning stoves
 
subject: moving files to different folders