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

Method sendcmd

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

Send a command and return the response.

(self, cmd)

Source from the content-addressed store, hash-verified

276 return resp
277
278 def sendcmd(self, cmd):
279 '''Send a command and return the response.'''
280 self.putcmd(cmd)
281 return self.getresp()
282
283 def voidcmd(self, cmd):
284 """Send a command and expect a response beginning with '2'."""

Callers 10

makepasvMethod · 0.95
ntransfercmdMethod · 0.95
loginMethod · 0.95
retrlinesMethod · 0.95
mlsdMethod · 0.95
renameMethod · 0.95
deleteMethod · 0.95
sizeMethod · 0.95
testFunction · 0.95
ftpcpFunction · 0.80

Calls 2

putcmdMethod · 0.95
getrespMethod · 0.95

Tested by

no test coverage detected