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

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

No class docstring
Method makeDirectory Create a directory.
Method removeDirectory Remove a directory.
Method removeFile Remove a file.
Method rename Rename a file or directory.
Method openForWriting Undocumented

Inherited from FTPAnonymousShell:

Method __init__ Undocumented
Method _path Undocumented
Method receive Undocumented
Method openForReading
Method access Determine whether access to the given path is allowed.
Method stat Retrieve information about the given path.
Method list Retrieve information about the given path.
Method _list_owner Undocumented
Method _list_group Undocumented
Method _list_directory Undocumented
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)
Undocumented
API Documentation for twisted, generated by pydoctor.