A proposal for a FTP client API
Max (Weijun) Wang
Weijun.Wang at Sun.COM
Fri May 23 09:15:36 PDT 2008
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.
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?
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.
>
>
More information about the net-dev
mailing list