class documentation

class twisted.conch.ssh.filetransfer.FileTransferServer(FileTransferBase): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Instance Variable client Undocumented
Instance Variable openFiles Undocumented
Instance Variable openDirs Undocumented
Method packet_INIT Undocumented
Instance Variable version Undocumented
Method packet_OPEN Undocumented
Method packet_CLOSE Undocumented
Method packet_READ Undocumented
Method packet_WRITE Undocumented
Method packet_REMOVE Undocumented
Method packet_RENAME Undocumented
Method packet_MKDIR Undocumented
Method packet_RMDIR Undocumented
Method packet_OPENDIR Undocumented
Method packet_READDIR Undocumented
Method packet_STAT Undocumented
Method packet_LSTAT Undocumented
Method packet_FSTAT Undocumented
Method packet_SETSTAT Undocumented
Method packet_FSETSTAT Undocumented
Method packet_READLINK Undocumented
Method packet_SYMLINK Undocumented
Method packet_REALPATH Undocumented
Method packet_EXTENDED Undocumented
Method connectionLost Called when connection to the remote subsystem was lost.
Method _cbOpenFile Undocumented
Method _cbClose Undocumented
Method _cbRead Undocumented
Method _cbOpenDirectory Undocumented
Method _scanDirectory Undocumented
Method _cbScanDirectory Undocumented
Method _cbSendDirectory Undocumented
Method _cbStat Undocumented
Method _cbReadLink Undocumented
Method _cbExtended Undocumented
Method _cbStatus Undocumented
Method _ebStatus Undocumented
Method _sendStatus Helper method to send a FXP_STATUS message.

Inherited from FileTransferBase:

Class Variable versions Undocumented
Class Variable packetTypes Undocumented
Instance Variable buf Undocumented
Instance Variable otherVersion Undocumented
Method sendPacket Undocumented
Method dataReceived Called whenever data is received.
Instance Variable connected Undocumented
Class Variable _log Undocumented
Method _parseAttributes Undocumented
Method _packAttributes Undocumented

Inherited from Protocol (via FileTransferBase):

Class Variable factory Undocumented
Method logPrefix Return a prefix matching the class name, to identify log messages related to this protocol instance.

Inherited from BaseProtocol (via FileTransferBase, Protocol):

Instance Variable transport Undocumented
Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
def __init__(self, data=None, avatar=None): (source)
client = (source)

Undocumented

openFiles = (source)

Undocumented

(type: dict)
openDirs = (source)

Undocumented

(type: dict)
def packet_INIT(self, data): (source)

Undocumented

version = (source)

Undocumented

def packet_OPEN(self, data): (source)

Undocumented

def _cbOpenFile(self, fileObj, requestId): (source)

Undocumented

def packet_CLOSE(self, data): (source)

Undocumented

def _cbClose(self, result, handle, requestId, isDir=0): (source)

Undocumented

def packet_READ(self, data): (source)

Undocumented

def _cbRead(self, result, requestId): (source)

Undocumented

def packet_WRITE(self, data): (source)

Undocumented

def packet_REMOVE(self, data): (source)

Undocumented

def packet_RENAME(self, data): (source)

Undocumented

def packet_MKDIR(self, data): (source)

Undocumented

def packet_RMDIR(self, data): (source)

Undocumented

def packet_OPENDIR(self, data): (source)

Undocumented

def _cbOpenDirectory(self, dirObj, requestId): (source)

Undocumented

def packet_READDIR(self, data): (source)

Undocumented

def _scanDirectory(self, dirIter, f): (source)

Undocumented

def _cbScanDirectory(self, result, dirIter, f): (source)

Undocumented

def _cbSendDirectory(self, result, requestId): (source)

Undocumented

def packet_STAT(self, data, followLinks=1): (source)

Undocumented

def packet_LSTAT(self, data): (source)

Undocumented

def packet_FSTAT(self, data): (source)

Undocumented

def _cbStat(self, result, requestId): (source)

Undocumented

def packet_SETSTAT(self, data): (source)

Undocumented

def packet_FSETSTAT(self, data): (source)

Undocumented

def packet_READLINK(self, data): (source)

Undocumented

def _cbReadLink(self, result, requestId): (source)

Undocumented

def packet_SYMLINK(self, data): (source)

Undocumented

def packet_REALPATH(self, data): (source)

Undocumented

def packet_EXTENDED(self, data): (source)

Undocumented

def _cbExtended(self, data, requestId): (source)

Undocumented

def _cbStatus(self, result, requestId, msg=b'request succeeded'): (source)

Undocumented

def _ebStatus(self, reason, requestId, msg=b'request failed'): (source)

Undocumented

def _sendStatus(self, requestId, code, message, lang=b''): (source)

Helper method to send a FXP_STATUS message.

def connectionLost(self, reason): (source)

Called when connection to the remote subsystem was lost.

Clean all opened files and directories.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.