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.connect(myHostname);
ftp.login(myUsername, myPassword);
File localFile = new File("C:\\test\\test.csv");
FileOutputStream outStream = new
FileOutputStream(localFile.getAbsoluteFile());
boolean result = ftp.retrieveFile(remoteFilename,
outStream);
ftp.disconnect();
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]