class documentation

class twisted.protocols.ftp.FTPRealm(BaseFTPRealm): (source)

View In Hierarchy

Instance Variable anonymousRoot Root of the filesystem to which anonymous users will be granted access.
Instance Variable userHome Root of the filesystem containing user home directories.
Method __init__ Undocumented
Method getHomeDirectory Use avatarId as a single path segment to construct a child of self.userHome and return that child.

Inherited from BaseFTPRealm:

Method requestAvatar Return avatar which provides one of the given interfaces.
anonymousRoot = (source)
Root of the filesystem to which anonymous users will be granted access.
(type: twisted.python.filepath.FilePath)
userHome = (source)
Root of the filesystem containing user home directories.
(type: filepath.FilePath)
def __init__(self, anonymousRoot, userHome='/home'): (source)
def getHomeDirectory(self, avatarId): (source)

Use avatarId as a single path segment to construct a child of self.userHome and return that child.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.