[issue2054] add ftp-tls support to ftplib - RFC 4217

Bill Janssen report at bugs.python.org
Mon Jun 30 03:03:18 CEST 2008


Bill Janssen <bill.janssen at gmail.com> added the comment:

The 2.6/3.0 changes are now up-to-date.  We could reconsider this
problem.  My guess is that we still don't quite know what to do.

I think the issue is that we need a way to "unwrap" the SSL-secured
TCP stream, after it's been used.  So we need to expose the SSL
shutdown mechanism (already in the _ssl.c module) in the Python
code.  Something like

   socket = self.unwrap()

which would return a plain socket.socket instance.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2054>
_______________________________________


More information about the Python-bugs-list mailing list