Ft.Server.Server.Ftp.Session

Modules

ResourceTypes  Versa  sha  time 
SCore  XmlLib  socket  timeout_socket 
Schema  cStringIO  string  traceback 
Time  mod  sys  types 
Uri  os  thread   

Classes

class Error

Data and other non-method functions defined here:

ALREADY_GROUP_MEMBER = 3000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
BROKEN_ALIAS = 30
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_FILE_MISSING = 14
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_CORE_ID = 15
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_REPOSITORY = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_VALUE = 13
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_MISSING_PROPERTY = 11
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_MULTIPLE_PROPERTIES = 12
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_NOT_FOUND = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DRIVER_UNAVAILABLE = 18
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
EXTENSION_MISSING_REQUIRED_ATTRIBUTE = 2500
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
GROUP_EXISTS = 35
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INTERNAL_ERROR = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_ACL_IDENT = 33
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_LOGIN = 22
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_PATH = 20
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_SESSION = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_XML = 1000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LOG_URIREF_MISSING = 60
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NOT_SUPPORTED = 51
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NO_REMOTE_REPO_ACCESS = 28
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
OBJECT_DELETED = 31
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PATH_EXISTS = 23
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PERMISSION_DENIED = 32
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIVE_PATH_FOR_FTSS_URI = 27
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIVE_PATH_IN_FTSS_URI = 26
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESOURCE_NOT_FOUND = 29
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SWISH_NOT_SUPPORTED = 2000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TRANSACTION_IN_PROGRESS = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TRANSACTION_NOT_IN_PROGRESS = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNABLE_TO_INITALIZE_REPO = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_DRIVER_ERROR = 17
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_PATH = 21
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_RESOURCE_TYPE = 24
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_RPC_COMMAND = 52
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_SERVER = 50
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_VALIDATION_TYPE = 1010
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNSUPPORTED_FTSS_URI_SCHEME = 25
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
USER_EXISTS = 34
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
USER_XSLT_DOCDEF_EXCEPTION = 42
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VALIDATION_ERROR = 1001
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XML_PARSE_EXCEPTION = 40
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XSLT_PARSE_EXCEPTION = 41
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Server.Server.MessageSource'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class FtServerServerException(Ft.Server.FtServerBaseException)

Data and other non-method functions defined here:

MessageSource = <module 'Ft.Server.Server.MessageSource' from 'b...linux-ppc-2.2/Ft/Server/Server/MessageSource.py'>
__doc__ = None
__module__ = 'Ft.Server.Server'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class Session
__init__(self, rfile, wfile, client_address, server)
_getRepo(self)
absolutePath(self, path)
close_datasock(self)
cmd_abor(self, _)
cmd_appe(self, filename)
cmd_cdup(self, _)
cmd_cwd(self, path)
cmd_dele(self, filename)
cmd_dummy(self, _)
cmd_list(self, path)
cmd_mkd(self, dirname)
cmd_noop(self, _)
cmd_pass(self, password)
cmd_pasv(self, _)
cmd_port(self, port_id)
cmd_pwd(self, _)
cmd_quit(self, _)
cmd_rest(self, pos)
cmd_retr(self, filename)
cmd_retr1(self, path)
cmd_rmd(self, dirname)
cmd_site(self, command)
cmd_size(self, path)
cmd_stor(self, filename)
cmd_syst(self, _)
cmd_user(self, username)
create_nonpasv_datasock(self)
create_pasv_datasock(self)
docmd(self, cmd)
log_date_time_string(self)
log_error(self, code, msg)
log_ftp_command(self, cmd, args)
log_ftp_message(self, msg)
log_serverResponse(self, msg)
loop(self)
loop1(self)
reply(self, x)
replymessage(self, n, x)
stor_or_appe(self, filename, comm)
unixDirListing(self, parent)
v2fs(self, f)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Ftp.Session'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
threading = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
class t_socket
__getattr__(self, name)
__init__(self, timeout=20.0, sock=None)
accept(self)
close(self)
connect(self, *addr)
flush(self)
makefile(self, flags='r', buffsize=-1)
read(self, amt)
readline(self)
recv(self, amt, flags=0)
recvpending(self, timeout=0)
send(self, data, flags=0)
timeout(self, newtimo)
write(self, data)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.ThirdParty.pyftpd.timeout_socket'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

StringIO(...)
got_pass(username, password, session, sessions)
got_user(username, session, sessions)
permcheck(f, user, group, session, operation)

Data

IMT_MAP = {'%': 'application/x-trash', 'ai': 'application/postscript', 'aif': 'audio/x-aiff', 'aifc': 'audio/x-aiff', 'aiff': 'audio/x-aiff', 'asc': 'text/plain', 'asf': 'video/x-ms-asf', 'asx': 'video/x-ms-asf', 'au': 'audio/basic', 'avi': 'video/x-msvideo', ...}
SCHEMA_NSS = 'http://schemas.4suite.org/4ss'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Server/Server/Ftp/Session.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Server.Server.Ftp.Session'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
authmethods = [(<function got_user>, <function got_pass>)]
chrootdir = ''
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
do_debug = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
do_log = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
emulate_posix = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
i = 'auth_4SS_module'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
initial_msg = 'Welcome to the 4Suite Server FTP interface'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
initial_wd = '/'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
logfile = ''
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
methods = ['Error', 'FtServerServerException', 'GetRepository', '__builtins__', '__doc__', '__file__', '__name__', 'got_pass', 'got_user', 'os', 'sha']
modules = ['auth_4SS_module']
permmethods = []
port = 2122
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
rbufsize = 16000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
sbufsize = 16000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
sessions = {}
timeout_data = 120
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
timeout_session = 300
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.