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

Method transfercmd

tools/python-3.11.9-amd64/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 4

retrbinaryMethod · 0.95
retrlinesMethod · 0.95
storbinaryMethod · 0.95
storlinesMethod · 0.95

Calls 1

ntransfercmdMethod · 0.95

Tested by

no test coverage detected