Hi all, I'm trying to extend the base ftplib module to add SSL/TLS support as described in RFC-4217 (see also issue 2054). RFC-4217 defines a certain command ("CCC") which permit to return to a plain text socket state without closing the connection. That is useful since that, being FTP a port-hopping protocol (i.e. data channels may use a random port chosen during the communication), firewalls need to read passing packets to allow the secondary data connections.
I've read through ssl.py but I didn't notice anything useful. It seems that ssl.SSLSocket class does not provide any method/facility to switch back to a plain text socket state. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com