Class t.p.f.FTPShell(FTPAnonymousShell):

Part of twisted.protocols.ftp View Source View In Hierarchy

An authenticated implementation of IFTPShell.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
1710 Method makeDirectory Create a directory.
1722 Method removeDirectory Remove a directory.
1739 Method removeFile Remove a file.
1756 Method rename Rename a file or directory.
1769 Method openForWriting Reject write attempts by anonymous users with

Inherited from FTPAnonymousShell:

Line # Kind Name Docs
1521 Method __init__ Undocumented
1545 Method receive Undocumented
1550 Method openForReading
1574 Method access Determine whether access to the given path is allowed.
1591 Method stat Retrieve information about the given path.
1606 Method list Return the list of files at given path, adding keys stat
1525 Method _path Undocumented
1642 Method _statNode Shortcut method to get stat info on a node.
1661 Method _stat_owner Undocumented
1670 Method _stat_group Undocumented
1679 Method _stat_directory Undocumented
Line # Kind Name Docs
1521 Method __init__ Undocumented
1574 Method access Determine whether access to the given path is allowed.
1606 Method list Return the list of files at given path, adding keys stat
1710 Method makeDirectory Create a directory.
1550 Method openForReading
1769 Method openForWriting Reject write attempts by anonymous users with
1545 Method receive Undocumented
1722 Method removeDirectory Remove a directory.
1739 Method removeFile Remove a file.
1756 Method rename Rename a file or directory.
1591 Method stat Retrieve information about the given path.
1525 Method _path Undocumented
1679 Method _stat_directory Undocumented
1670 Method _stat_group Undocumented
1661 Method _stat_owner Undocumented
1642 Method _statNode Shortcut method to get stat info on a node.
def makeDirectory(self, path): (source)
Create a directory.
ParameterspathThe path, as a list of segments, to create (type: list of unicode )
ReturnsA Deferred which fires when the directory has been created, or which fails if the directory cannot be created.
def removeDirectory(self, path): (source)
Remove a directory.
ParameterspathThe path, as a list of segments, to remove (type: list of unicode )
ReturnsA Deferred which fires when the directory has been removed, or which fails if the directory cannot be removed.
def removeFile(self, path): (source)
Remove a file.
ParameterspathThe path, as a list of segments, to remove (type: list of unicode )
ReturnsA Deferred which fires when the file has been removed, or which fails if the file cannot be removed.
def rename(self, fromPath, toPath): (source)
Rename a file or directory.
ParametersfromPathThe current name of the path. (type: list of unicode )
toPathThe desired new name of the path. (type: list of unicode )
ReturnsA Deferred which fires when the path has been renamed, or which fails if the path cannot be renamed.
def openForWriting(self, path): (source)
Reject write attempts by anonymous users with PermissionDeniedError.
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.