Class t.v.a.f.FileSystemToIFTPShellAdaptor(object):

Part of twisted.vfs.adapters.ftp View Source View In Hierarchy

Implements interfaces: twisted.protocols.ftp.IFTPShell

Wrap a VFS filesystem to an ftpIFTPShell interface.
Line # Kind Name Docs
44 Method __init__
60 Method makeDirectory Create a directory named path.
78 Method removeDirectory Remove the given directory.
96 Method removeFile Remove the file at path.
114 Method list List all files and directories in path.
166 Method access Check if path is accessible.
183 Method openForReading Open file at path for reading.
200 Method openForWriting Open file at path for writing.
222 Method stat Stat path for metadatas keys.
240 Method rename Rename fromPath to toPath.
52 Static Method _makePath Make a path from its segments.
144 Method _attrify Undocumented
def __init__(self, filesystem): (source)
Parametersfilesystemthe root of the FTP server. (type: ivfs.IFileSystemContainer. )
@staticmethod
def _makePath(segments): (source)
Make a path from its segments.
def makeDirectory(self, path): (source)
Create a directory named path.
def removeDirectory(self, path): (source)
Remove the given directory.
def removeFile(self, path): (source)
Remove the file at path.
def list(self, path, keys=()): (source)
List all files and directories in path.
Parameterskeysthe name of the metadatas to return. (type: tuple of str. )
def _attrify(self, node, keys): (source)
Undocumented
def access(self, path): (source)
Check if path is accessible.
def openForReading(self, path): (source)
Open file at path for reading.
def openForWriting(self, path): (source)
Open file at path for writing.
def stat(self, path, keys=()): (source)
Stat path for metadatas keys.
def rename(self, fromPath, toPath): (source)
Rename fromPath to toPath.
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.