Package install :: Package MoSTBioDat :: Package Transfer :: Module fileFTPtools :: Class parseFtpPerm
[hide private]
[frames] | no frames]

Class parseFtpPerm

source code

object --+
         |
        parseFtpPerm

parse file's permission attributes INPUT: fullmode - str, file's permission string OUTPUT: class object

Instance Methods [hide private]
 
__init__(self, fullmode)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
str2perm(self)
check whether file is link or directory
source code
 
str2fullnum(self) source code
 
str2num(self, userperm)
sum the string to the numeric
source code
 
rwx(self, n, suid, sticky=False) source code
 
num2fullstr(self, mode)
change numeric mode to full string
source code
 
check(self, first, second, third)
counterpart of the C x?y:z syntax
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fullmode)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)