twisted.conch.scripts.cftp.StdioClient(basic.LineReceiver)
class documentationtwisted.conch.scripts.cftp
View Source
(View In Hierarchy)
Method | __init__ | Undocumented |
Method | connectionMade | Called when a connection is made. |
Method | lineReceived | Override this for when each line is received. |
Method | cmd_CD | Undocumented |
Method | cmd_CHGRP | Undocumented |
Method | cmd_CHMOD | Undocumented |
Method | cmd_CHOWN | Undocumented |
Method | cmd_GET | Undocumented |
Method | cmd_PUT | Undocumented |
Method | cmd_LCD | Undocumented |
Method | cmd_LN | Undocumented |
Method | cmd_LS | Undocumented |
Method | cmd_MKDIR | Undocumented |
Method | cmd_RMDIR | Undocumented |
Method | cmd_LMKDIR | Undocumented |
Method | cmd_RM | Undocumented |
Method | cmd_LLS | Undocumented |
Method | cmd_RENAME | Undocumented |
Method | cmd_EXIT | Undocumented |
Method | cmd_VERSION | Undocumented |
Method | cmd_HELP | Undocumented |
Method | cmd_PWD | Undocumented |
Method | cmd_LPWD | Undocumented |
Method | cmd_PROGRESS | Undocumented |
Method | cmd_EXEC | Run rest using the user's shell (or /bin/sh if they do not
have one). |
Method | _cbSetCurDir | Undocumented |
Method | _dispatchCommand | Undocumented |
Method | _printFailure | Undocumented |
Method | _newLine | Undocumented |
Method | _cbCommand | Undocumented |
Method | _ebCommand | Undocumented |
Method | _cbCd | Undocumented |
Method | _cbCurDir | Undocumented |
Method | _cbSetUsrGrp | Undocumented |
Method | _cbGetMultiple | Undocumented |
Method | _cbGetMultipleNext | Undocumented |
Method | _ebCloseLf | Undocumented |
Method | _cbGetOpenFile | Undocumented |
Method | _cbGetFileSize | Undocumented |
Method | _getNextChunk | Undocumented |
Method | _cbGetRead | Undocumented |
Method | _cbGetDone | Undocumented |
Method | _cbPutTargetAttrs | Undocumented |
Method | _cbPutMultipleNext | Undocumented |
Method | _cbPutOpenFile | Undocumented |
Method | _cbPutWrite | Undocumented |
Method | _cbPutDone | Undocumented |
Method | _cbDisplayFiles | Undocumented |
Method | _remoteGlob | Undocumented |
Method | _cbOpenList | Undocumented |
Method | _ebNotADirectory | Undocumented |
Method | _cbReadFile | Undocumented |
Method | _abbrevSize | Undocumented |
Method | _abbrevTime | Undocumented |
Method | _printProgressBar | No summary |
Method | _getFilename | Undocumented |
Inherited from _PauseableMixin (via LineReceiver):
Method | pauseProducing | Undocumented |
Method | resumeProducing | Undocumented |
Method | stopProducing | Undocumented |
Inherited from _PauseableMixin (via LineReceiver):
Method | pauseProducing | Undocumented |
Method | resumeProducing | Undocumented |
Method | stopProducing | Undocumented |
Inherited from _PauseableMixin (via LineReceiver):
Method | pauseProducing | Undocumented |
Method | resumeProducing | Undocumented |
Method | stopProducing | Undocumented |
Inherited from _PauseableMixin (via LineReceiver):
Method | pauseProducing | Undocumented |
Method | resumeProducing | Undocumented |
Method | stopProducing | Undocumented |
Called when a connection is made.
This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
Override this for when each line is received.
Parameters | line | The line which was received with the delimiter removed. (type: bytes ) |
Run rest
using the user's shell (or /bin/sh if they do not
have one).
Update a console progress bar on this StdioClient
's
transport, based on the difference between the start time of the operation
and the current time according to the reactor, and appropriate to the size
of the console window.
Parameters | f | a wrapper around the file which is being written or read (type: FileWrapper ) |
startTime | The time at which the operation being tracked began. (type: float ) |