commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiang gao" <gao.g...@gmail.com>
Subject Question of FTPClient listFiles() [Commons Net]
Date Mon, 19 Nov 2007 20:49:33 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.connect(server);
    f.login(username, password);
    FTPFile[] files = f.listFiles("subfolder");  //error happens here

It reports "java.net.SocketException: Connection reset"

Any clues is great appreciated.

Thank you
Xiang

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message