some trouble with PASV/EPSV (Re: FTPd Server Side implemented in Rev!!!)

Mark Wieder mwieder at ahsoftware.net
Fri Aug 13 17:50:08 EDT 2004


Andre-

Here's the relevant section of RFC959. Note that PASV mode requests
the server to listen on a specific port, and the server respsonds with
the host address and listening port. In particular, I think you will
be processing message 227, although 228 and 229 may come into play:

http://www.freesoft.org/CIE/RFC/959/22.htm

If you want to support ipv6 you'll need the EPSV command as well:

http://www.faqs.org/rfcs/rfc2428.html

Also, notice some security measures you might think about coding into
the server mechanics:

http://cr.yp.to/ftp/security.html

...and there's a rather excellent explanation of passive mode ftp at
http://slacksite.com/other/ftp.html

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list