commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matthew.hawthorne" <>
Subject Re: FileUtils question..
Date Fri, 10 Sep 2004 18:00:26 GMT
Mark Drew wrote:
> Any idea on how to establish connection with the ftp or modify a file 
 > on the ftp and can this be done using FileUtils alone? Say not ftp
 > alone, even if i try using the URI representation of a file on my pc...
 > for example: "file://C://temp/try.txt", it says the file cant be found.

I think this may be what you want:

FileUtils.copyURLToFile(URL source, File destination)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message