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

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.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

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

View raw message