summaryrefslogtreecommitdiffstats
path: root/Doc/library/ftplib.rst
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2011-06-27 09:17:51 (GMT)
committerGiampaolo Rodola' <g.rodola@gmail.com>2011-06-27 09:17:51 (GMT)
commit096dcb1eff251071815b22f2c99512df25fa5ed6 (patch)
tree5b5d87ea028a492f5a781475c1274eff515a6605 /Doc/library/ftplib.rst
parent504783975bcf12e6c70d2f4193ff821e475d44a7 (diff)
downloadcpython-096dcb1eff251071815b22f2c99512df25fa5ed6.zip
cpython-096dcb1eff251071815b22f2c99512df25fa5ed6.tar.gz
cpython-096dcb1eff251071815b22f2c99512df25fa5ed6.tar.bz2
Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text.
Diffstat (limited to 'Doc/library/ftplib.rst')
-rw-r--r--Doc/library/ftplib.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index f4205f4..087e200 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -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.