commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiang gao" <>
Subject Question of FTPClient listFiles() [Commons Net]
Date Mon, 19 Nov 2007 20:54:47 GMT
hi, all

I get an IOException when I try to get FTPFile information from FTP
server. The connection and login are succeeded.

The program is as simple as
   FTPClient f=FTPClient();
   f.login(username, password);
   FTPFile[] files = f.listFiles("subfolder");  //error happens here

It reports " Connection reset"

Any clues is great appreciated.

Thank you

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

View raw message