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 [EMAIL PROTECTED] _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
