MCPcopy Index your code
hub / github.com/python/cpython / transfercmd

Method transfercmd

Lib/ftplib.py:391–393  ·  view source on GitHub ↗

Like ntransfercmd() but returns only the socket.

(self, cmd, rest=None)

Source from the content-addressed store, hash-verified

389 return conn, size
390
391 def transfercmd(self, cmd, rest=None):
392 """Like ntransfercmd() but returns only the socket."""
393 return self.ntransfercmd(cmd, rest)[0]
394
395 def login(self, user = '', passwd = '', acct = ''):
396 '''Login, default anonymous.'''

Callers 8

retrbinaryMethod · 0.95
retrlinesMethod · 0.95
storbinaryMethod · 0.95
storlinesMethod · 0.95
test_data_connectionMethod · 0.80
test_contextMethod · 0.80
test_check_hostnameMethod · 0.80

Calls 1

ntransfercmdMethod · 0.95

Tested by 4

test_data_connectionMethod · 0.64
test_contextMethod · 0.64
test_check_hostnameMethod · 0.64