# ``twisted`.`protocols`.`ftp`.`SystemFTPRealm``

class documentation

`class SystemFTPRealm(BaseFTPRealm): (source)`

View In Hierarchy

`SystemFTPRealm` uses system user account information to decide what the home directory for a particular avatarId is.

This works on POSIX but probably is not reliable on Windows.

Method | `getHomeDirectory` | Return the system-defined home directory of the system user account with the name `avatarId`.

Inherited from `BaseFTPRealm`:

Method | `__init__` | Undocumented
Method | `requestAvatar` | Return avatar which provides one of the given interfaces.
Instance Variable | `anonymousRoot` | Undocumented

def getHomeDirectory(self, avatarId): (source)
overrides `twisted.protocols.ftp.BaseFTPRealm.getHomeDirectory`
Return the system-defined home directory of the system user account with the name `avatarId`.