module documentation
An FTP protocol implementation
| Interface | |
A Consumer for producers that finish. |
| Interface | |
An abstraction of the shell commands used by the FTP protocol for a given user account. |
| Interface | |
A file out of which bytes may be read. |
| Interface | |
A file into which bytes may be written. |
| Class | |
Undocumented |
| Class | |
Base class for simple FTP realms which provides an easy hook for specifying the home directory for each user. |
| Class | DTP |
No class docstring; 0/4 instance variable, 0/1 class variable, 2/15 methods documented |
| Class | |
Client factory for data transfer process protocols. |
| Class | |
A consumer for FTP input that writes data to a file. |
| Class | FTP |
Protocol Interpreter for the File Transfer Protocol |
| Class | |
An anonymous implementation of IFTPShell |
| Class | |
FTPClient is a client implementation of the FTP protocol which exposes FTP commands as methods which return Deferreds. |
| Class | |
Foundations of an FTP client. |
| Class | |
Undocumented |
| Class | |
Factory for data connections that use the PORT command |
| Class | |
A factory for producing ftp protocol instances |
| Class | |
Parser for standard FTP file listings |
| Class | |
FTP mini-protocol for when there are too many connections. |
| Class | |
No summary |
| Class | |
An authenticated implementation of IFTPShell. |
| Class | |
Undocumented |
| Class | |
No class docstring; 0/2 instance variable, 2/8 methods documented |
| Class | |
SystemFTPRealm uses system user account information to decide what the home directory for a particular avatarId is. |
| Exception | |
Raised when an anonymous user issues a command that will alter the filesystem |
| Exception | |
Raised when client authentication fails. |
| Exception | |
Raised when a client sends a series of commands in an illogical sequence. |
| Exception | |
Undocumented |
| Exception | |
Raised when a command is called with wrong value or a wrong number of arguments. |
| Exception | |
Raised when an unimplemented command is given to the server. |
| Exception | |
Raised when the handling of a parameter for a command is not implemented by the server. |
| Exception | |
Raised when a command syntax is wrong. |
| Exception | |
Undocumented |
| Exception | |
Undocumented |
| Exception | |
Raised when attempted to override an existing resource. |
| Exception | |
Raised when trying to access a non existent file or directory. |
| Exception | |
Generic exception for FTP commands. |
| Exception | |
Undocumented |
| Exception | |
Internal exception used to signify an error during parsing a path. |
| Exception | |
Raised when DELE is called on a path that is a directory. |
| Exception | |
Raised when RMD is called on a path that isn't a directory. |
| Exception | |
Raised when PASV is used with IPv6. |
| Exception | |
Raised when access is attempted to a resource to which access is not allowed. |
| Exception | |
Undocumented |
| Exception | |
Undocumented |
| Exception | |
Undocumented |
| Exception | |
Raised when the client requests an unsupported network protocol. |
| Function | debug |
Undocumented |
| Function | decode |
Decode an FTP protocol/address/port combination, using the syntax defined in RFC 2428 section 2. |
| Function | decode |
Decode an FTP response specifying a host and port. |
| Function | encode |
Undocumented |
| Function | errno |
Map OSError and IOError to standard FTP errors. |
| Function | parse |
Returns the path from a response to a PWD command. |
| Function | to |
Normalize a path, as represented by a list of strings each representing one segment of the path. |
| Constant | ANON |
Undocumented |
| Constant | AUTH |
Undocumented |
| Constant | BAD |
Undocumented |
| Constant | CANT |
Undocumented |
| Constant | CLOSING |
Undocumented |
| Constant | CMD |
Undocumented |
| Constant | CMD |
Undocumented |
| Constant | CMD |
Undocumented |
| Constant | CMD |
Undocumented |
| Constant | CNX |
Undocumented |
| Constant | DATA |
Undocumented |
| Constant | DATA |
Undocumented |
| Constant | DIR |
Undocumented |
| Constant | ENTERING |
Undocumented |
| Constant | ENTERING |
Undocumented |
| Constant | ENTERING |
Undocumented |
| Constant | EPSV |
Undocumented |
| Constant | EXCEEDED |
Undocumented |
| Constant | FEAT |
Undocumented |
| Constant | FILE |
Undocumented |
| Constant | FILE |
Undocumented |
| Constant | FILE |
Undocumented |
| Constant | FILE |
Undocumented |
| Constant | FILENAME |
Undocumented |
| Constant | GOODBYE |
Undocumented |
| Constant | GUEST |
Undocumented |
| Constant | GUEST |
Undocumented |
| Constant | HELP |
Undocumented |
| Constant | IS |
Undocumented |
| Constant | IS |
Undocumented |
| Constant | MKD |
Undocumented |
| Constant | NAME |
Undocumented |
| Constant | NEED |
Undocumented |
| Constant | NEED |
Undocumented |
| Constant | NOT |
Undocumented |
| Constant | OPTS |
Undocumented |
| Constant | PAGE |
Undocumented |
| Constant | PASV |
Undocumented |
| Constant | PERMISSION |
Undocumented |
| Constant | PWD |
Undocumented |
| Constant | REQ |
Undocumented |
| Constant | REQ |
Undocumented |
| Constant | REQ |
Undocumented |
| Constant | REQ |
Undocumented |
| Constant | REQ |
Undocumented |
| Constant | REQ |
Undocumented |
| Constant | RESPONSE |
Undocumented |
| Constant | RESTART |
Undocumented |
| Constant | SERVICE |
Undocumented |
| Constant | SVC |
Undocumented |
| Constant | SVC |
Undocumented |
| Constant | SVC |
Undocumented |
| Constant | SYNTAX |
Undocumented |
| Constant | SYNTAX |
Undocumented |
| Constant | SYS |
Undocumented |
| Constant | TOO |
Undocumented |
| Constant | TXFR |
Undocumented |
| Constant | TYPE |
Undocumented |
| Constant | UNSUPPORTED |
Undocumented |
| Constant | USR |
Undocumented |
| Constant | USR |
Undocumented |
| Constant | WELCOME |
Undocumented |
| Class | _ |
Undocumented |
| Class | _ |
Undocumented |
| Class | _ |
Undocumented |
| Function | _getgroups |
Return the primary and supplementary groups for the given UID. |
| Function | _is |
Helper for checking if a FTPShell `segments` contains a wildcard Unix expression. |
| Function | _test |
checks to see if uid has proper permissions to access path with mode |
| Function | _unwrap |
Undocumented |
| Constant | _AFNUM |
Undocumented |
| Constant | _AFNUM |
Undocumented |
| Variable | _months |
Undocumented |
| Variable | _test |
Undocumented |
Decode an FTP protocol/address/port combination, using the syntax defined in RFC 2428 section 2.
| Returns | |
| a 3-tuple of (protocol, host, port). |
Returns the path from a response to a PWD command.
Responses typically look like:
257 "/home/andrew" is current directory.
For this example, I will return '/home/andrew'.
If I can't find the path, I return None.
Undocumented
| Value |
|
Helper for checking if a FTPShell `segments` contains a wildcard Unix expression.
Only filename globbing is supported. This means that wildcards can only be presents in the last element of `segments`.
| Parameters | |
| segments:list | List of path elements as used by the FTP server protocol. |
| Returns | |
| Boolean | True if `segments` contains a globbing expression. |