Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module ftp :: Class FTPAnonymousShell |
|
object
--+
|
FTPAnonymousShell
Method Summary | |
---|---|
Constructor | |
cdup(self)
| |
cwd(self,
path)
| |
dele(self,
path)
| |
generates the equivalent output of a unix ls -l path, but using python-native code. | |
used to set up permissions checking. | |
list(self,
path)
| |
mapCPathToSPath(self,
rpath)
| |
mdtm(self,
path)
| |
mkd(self,
path)
| |
does a dumb join between two path elements, ensuring there is only one '/' between them. | |
nlist(self,
path)
| |
pwd(self)
| |
retr(self,
path)
| |
rmd(self,
path)
| |
returns the size in bytes of path | |
stor(self,
params)
| |
Inherited from object | |
__delattr__(...)
| |
__getattribute__(...)
| |
__hash__(...)
| |
__reduce__(...)
| |
__repr__(...)
| |
__setattr__(...)
| |
__str__(...)
| |
Inherited from type | |
__new__(...)
|
Class Variable Summary | |
---|---|
tuple |
__implements__ = (<class twisted.protocols.ftp.IFTPShell...
|
str |
clientwd = '/'
|
NoneType |
filepath = None |
NoneType |
gid = None |
NoneType |
uid = None |
Method Details |
---|
__init__(self,
user=None,
tld=None)
Constructor
|
getUnixLongListString(self, spath)generates the equivalent output of a unix ls -l path, but using python-native code.
|
getUserUIDAndGID(self)used to set up permissions checking. finds the uid and gid of the shell.user. called during __init__ |
myjoin(self, lpath, rpath)does a dumb join between two path elements, ensuring there is only one '/' between them. pays no attention to the filesystem, unlike os.path.join
|
size(self, path)returns the size in bytes of path |
Class Variable Details |
---|
__implements__
|
clientwd
|
filepath
|
gid
|
uid
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:57 2004 | http://epydoc.sf.net |