MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / ccc

Method ccc

tools/python-3.11.9-amd64/Lib/ftplib.py:760–766  ·  view source on GitHub ↗

Switch back to a clear-text control connection.

(self)

Source from the content-addressed store, hash-verified

758 return resp
759
760 def ccc(self):
761 '''Switch back to a clear-text control connection.'''
762 if not isinstance(self.sock, ssl.SSLSocket):
763 raise ValueError("not using TLS")
764 resp = self.voidcmd('CCC')
765 self.sock = self.sock.unwrap()
766 return resp
767
768 def prot_p(self):
769 '''Set up secure data connection.'''

Callers

nothing calls this directly

Calls 2

voidcmdMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected