John - Apache commons has an FTP client. Have you tried it? See
http://jakarta.apache.org/commons/net/apidocs/org/apache/commons/net/ftp/package-tree.html
for more info.
shiraz
[EMAIL PROTECTED] wrote:
Hi, Doug,
My current ftp implementation
uses java URL class (with help of a little hacked sun.net.www.*)
and is thus not fully portable, though pretty reliable.
I will post it after some cleanup. Any suggestions?
What are the copyright restictions on the sun.net.www.* code? My guess
is that we probably can't accept a hacked version of that code. If the
code is already included in most JVMs, can you get away with subclassing
things, overriding a few methods?
I will look into this.
How hard would it be to write a simple FTP client from scratch? I
originally wrote Nutch's HTTP client in about a day. It's evolved since
then to support more features, but a working, correct HTTP client is not
very difficult to write. Is FTP that much harder?
For one, FTP involves two channels: data and command.
I was trying to beat a deadline and could not ask our sponsor
for the luxury of a fresh write (otherwise our proposal would have been
flatly turned down). In two months (after pushing through my
current project), I will have time available to reexamine the situation.
Thank you very much for nutch.
John
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers
|