mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text.
This commit is contained in:
parent
504783975b
commit
096dcb1eff
4 changed files with 47 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue