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:17:11 GMT
hi,

I got 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

The api doc is too simple to find the root cause of this issue. Does
someone have any clue?

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