[issue12139] Add CCC command support to ftplib
Antoine Pitrou
report at bugs.python.org
Sat May 21 20:19:45 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> This can be useful to take advantage of firewalls that know how to
> handle NAT with non-secure FTP without opening fixed ports.
Can you explain this a little more?
+ resp = self.voidcmd('CCC')
+ self.sock = self.sock.unwrap()
+ return resp
Should the response be checked before calling unwrap()?
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12139>
_______________________________________
More information about the Python-bugs-list
mailing list