Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`conch`.`ssh`.`filetransfer`.`FileTransferServer``

class documentation

`class FileTransferServer(FileTransferBase): (source)`

Constructor: `FileTransferServer(data, avatar)`

View In Hierarchy

Undocumented

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

Inherited from `FileTransferBase`:

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

Inherited from `Protocol` (via `FileTransferBase`):

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

Inherited from `BaseProtocol` (via `FileTransferBase`, `Protocol`):

Method | `connectionMade` | Called when a connection is made.
Method | `makeConnection` | Make a connection to a transport and a server.
Instance Variable | `transport` | Undocumented

def __init__(self, data=None, avatar=None): (source)
overrides `twisted.conch.ssh.filetransfer.FileTransferBase.__init__`

Undocumented

def connectionLost(self, reason): (source)
from `twisted.internet.interfaces.IProtocol`
overrides `twisted.conch.ssh.filetransfer.FileTransferBase.connectionLost`

Called when connection to the remote subsystem was lost.

Clean all opened files and directories.

def packet_CLOSE(self, data): (source)

Undocumented

def packet_EXTENDED(self, data): (source)

Undocumented

def packet_FSETSTAT(self, data): (source)

Undocumented

def packet_FSTAT(self, data): (source)

Undocumented

def packet_INIT(self, data): (source)

Undocumented

def packet_LSTAT(self, data): (source)

Undocumented

def packet_MKDIR(self, data): (source)

Undocumented

def packet_OPEN(self, data): (source)

Undocumented

def packet_OPENDIR(self, data): (source)

Undocumented

def packet_READ(self, data): (source)

Undocumented

def packet_READDIR(self, data): (source)

Undocumented

def packet_READLINK(self, data): (source)

Undocumented

def packet_REALPATH(self, data): (source)

Undocumented

def packet_REMOVE(self, data): (source)

Undocumented

def packet_RENAME(self, data): (source)

Undocumented

def packet_RMDIR(self, data): (source)

Undocumented

def packet_SETSTAT(self, data): (source)

Undocumented

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

Undocumented

def packet_SYMLINK(self, data): (source)

Undocumented

def packet_WRITE(self, data): (source)

Undocumented

client = (source)

Undocumented

openDirs: `dict` = (source)

Undocumented

openFiles: `dict` = (source)

Undocumented

version = (source)

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

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

Undocumented

def _cbStat(self, result, 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 _scanDirectory(self, dirIter, f): (source)

Undocumented

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

Helper method to send a FXP_STATUS message.