Outbound port on sockets
Fredrik Lundh
fredrik at pythonware.com
Thu Sep 14 12:21:39 EDT 2006
bmearns wrote:
> All the same, it's a good suggestion. Thank you. Now do you know how I
> (as the server) can force clients to use PASV, instead of PORT?
have you tried returning a suitable error code ? (502 should be a good
choice).
(and before you proceed, reading
http://cr.yp.to/ftp/security.html
is also a good idea. are you 110% sure that you absolutely definitely
have to use FTP rather than HTTP/WebDAV or somesuch).
</F>
More information about the Python-list
mailing list