MCPcopy Create free account
hub / github.com/twisted/twisted / queueStringCommand

Method queueStringCommand

src/twisted/protocols/ftp.py:2741–2754  ·  view source on GitHub ↗

Queues a string to be issued as an FTP command @param command: string of an FTP command to queue @param public: a flag intended for internal use by FTPClient. Don't change it unless you know what you're doing. @return: a L{Deferred} that will be called

(self, command, public=1)

Source from the content-addressed store, hash-verified

2739 self.sendNextCommand()
2740
2741 def queueStringCommand(self, command, public=1):
2742 """
2743 Queues a string to be issued as an FTP command
2744
2745 @param command: string of an FTP command to queue
2746 @param public: a flag intended for internal use by FTPClient. Don't
2747 change it unless you know what you're doing.
2748
2749 @return: a L{Deferred} that will be called when the response to the
2750 command has been received.
2751 """
2752 ftpCommand = FTPCommand(command, public)
2753 self.queueCommand(ftpCommand)
2754 return ftpCommand.deferred
2755
2756 def popCommandQueue(self):
2757 """

Callers 15

queueLoginMethod · 0.95
queueCommandMethod · 0.80
test_NotLoggedInReplyMethod · 0.80
test_NoParamsForPASSMethod · 0.80
test_loginErrorMethod · 0.80
test_PASVMethod · 0.80
test_EPSVMethod · 0.80
test_EPSVWithProtocolMethod · 0.80
test_FEATMethod · 0.80
sendPASVMethod · 0.80

Calls 2

queueCommandMethod · 0.95
FTPCommandClass · 0.85

Tested by 15

queueCommandMethod · 0.64
test_NotLoggedInReplyMethod · 0.64
test_NoParamsForPASSMethod · 0.64
test_loginErrorMethod · 0.64
test_PASVMethod · 0.64
test_EPSVMethod · 0.64
test_EPSVWithProtocolMethod · 0.64
test_FEATMethod · 0.64
sendPASVMethod · 0.64
_makeDataConnectionMethod · 0.64