commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Payam Fard <>
Subject Question regarding FTPClient.retrieve
Date Mon, 16 Jul 2007 18:37:55 GMT
I am using FTPClient class and would like to download
a file from an FTP site. Here is what I am doing, but
I cannot get it to download the file. Any help would
be appreciated:


ftp.login(myUsername, myPassword);

File localFile = new File("C:\\test\\test.csv");

FileOutputStream outStream = new

boolean result = ftp.retrieveFile(remoteFilename,


TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.

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

View raw message