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)
| 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 | """ |