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

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


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:

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

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

...and there's a rather excellent explanation of passive mode ftp at

-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list