This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Copying a file form one location to another location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Copying a file form one location to another location" Watch "Copying a file form one location to another location" New topic
Author

Copying a file form one location to another location

ms raaghu
Ranch Hand

Joined: Jul 10, 2009
Posts: 66
Hi all ,
Can i know how do i copy a file from one location say c:/abc to another location d:/abc
please let me know how it can b done???

Thanks
Aneesh Vijendran
Ranch Hand

Joined: Jun 29, 2008
Posts: 125
Use Commons File Utils.
org.apache.commons.io.FileUtils

Most of your I/O headaches could be solved by this.

Cheers
Aneesh


Cheers
Aneesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Copying a file form one location to another location