Max (Weijun) Wang wrote:
boolean login(String user, String password)
boolean login(String user, String password, String account)

Normally we use char[] to represent a password so that it can zeroed out afterward.


Good point, I'll make the necessary changes.

List<FtpFile> listFiles(String path)

If a FTP directory is huge, listing the files will cost a very long time. I'll be very glad to see this method returns immediately and fetching the information while user iterate through the output. Is this implementation possible with this API?

Not with the current design. However, it is possible to get the 'raw' listing using FtpClient.list(String path) instead. It returns an InputStream to the unparsed listing.


Thanks
Max

On May 23, 2008, at 11:20 PM, Jean-Christophe Collet wrote:
Hello,

I have posted an entry in my blog about the current status of the FTP client API. It contains a quick description of the project as well as a link to the current draft of the API. So if you're interested in that topic go take a look at http://blogs.sun.com/jcc/

As mentioned in the post, feedback is very strongly encouraged.




Reply via email to