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

Method voidcmd

Lib/ftplib.py:283–286  ·  view source on GitHub ↗

Send a command and expect a response beginning with '2'.

(self, cmd)

Source from the content-addressed store, hash-verified

281 return self.getresp()
282
283 def voidcmd(self, cmd):
284 """Send a command and expect a response beginning with '2'."""
285 self.putcmd(cmd)
286 return self.voidresp()
287
288 def sendport(self, host, port):
289 '''Send a PORT command with the current host and the given

Callers 15

sendportMethod · 0.95
sendeprtMethod · 0.95
retrbinaryMethod · 0.95
storbinaryMethod · 0.95
storlinesMethod · 0.95
acctMethod · 0.95
renameMethod · 0.95
cwdMethod · 0.95
mkdMethod · 0.95
rmdMethod · 0.95
pwdMethod · 0.95
quitMethod · 0.95

Calls 2

putcmdMethod · 0.95
voidrespMethod · 0.95

Tested by 1

test_voidcmdMethod · 0.64