Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ prot_c
Method
prot_c
Lib/ftplib.py:762–766 ·
view source on GitHub ↗
Set up clear text data connection.
(self)
Source
from the content-addressed store, hash-verified
760
return
resp
761
762
def
prot_c(self):
763
''
'Set up clear text data connection.'
''
764
resp = self.voidcmd(
'PROT C'
)
765
self._prot_p = False
766
return
resp
767
768
# --- Overridden FTP methods
769
Callers
1
test_data_connection
Method · 0.80
Calls
1
voidcmd
Method · 0.80
Tested by
1
test_data_connection
Method · 0.64