| Home | Trees | Index | Help |
|---|
| Package paramiko :: Module sftp_attr :: Class SFTPAttributes |
|
object --+
|
SFTPAttributes
os.stat as closely as possible, so it may have the following
fields, with the same meanings as those returned by an
os.stat object:
attr. Occasionally, the
filename is also stored, in filename.
| Method Summary | |
|---|---|
Create a new (empty) SFTPAttributes object. | |
create a unix-style long description of the file (like ls -l) | |
SFTPAttributes
|
Create an SFTPAttributes object from an existing stat
object (an object returned by os.stat). (Class method)
|
_from_msg(cls,
msg)
(Class method) | |
_pack(self,
msg)
| |
_rwx(n,
suid,
sticky)
(Static method) | |
_unpack(self,
msg)
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
| Class Variable Summary | |
|---|---|
int |
FLAG_AMTIME = 8 |
long |
FLAG_EXTENDED = 2147483648L
|
int |
FLAG_PERMISSIONS = 4 |
int |
FLAG_SIZE = 1 |
int |
FLAG_UIDGID = 2 |
| Instance Method Details |
|---|
__init__(self)
Create a new (empty) SFTPAttributes object. All fields will be
empty.
|
__str__(self)
create a unix-style long description of the file (like ls -l)
|
| Class Method Details |
|---|
from_stat(cls, obj, filename=None)Create an SFTPAttributes object from an existingstat
object (an object returned by os.stat).
|
| Class Variable Details |
|---|
FLAG_AMTIME
|
FLAG_EXTENDED
|
FLAG_PERMISSIONS
|
FLAG_SIZE
|
FLAG_UIDGID
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Dec 12 02:04:25 2004 | http://epydoc.sf.net |