Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text.

This commit is contained in:
Giampaolo Rodola' 2011-06-27 11:17:51 +02:00
parent 504783975b
commit 096dcb1eff
4 changed files with 47 additions and 2 deletions

View file

@ -426,6 +426,14 @@ FTP_TLS Objects
Set up secure control connection by using TLS or SSL, depending on what specified in :meth:`ssl_version` attribute.
.. method:: FTP_TLS.ccc()
Revert control channel back to plaintex. This can be useful to take
advantage of firewalls that know how to handle NAT with non-secure FTP
without opening fixed ports.
.. versionadded:: 3.3
.. method:: FTP_TLS.prot_p()
Set up secure data connection.