| Home | Trees | Index | Help |
|---|
| Package paramiko :: Module sftp_si :: Class SFTPServerInterface |
|
object --+
|
SFTPServerInterface
This class defines an interface for controlling the behavior of
paramiko when using the SFTPServer subsystem to provide an SFTP
server.
| Method Summary | |
|---|---|
Return the canonical form of a path on the server. | |
list of SFTPAttributes or error
code
|
Return a list of files within a given folder. |
override -> SFTPAttributes | |
override -> SFTPAttributes | |
| Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
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 | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
canonicalize(self, path)Return the canonical form of a path on the server. For example, if
the server's home folder is You may find the python methods in os.path.normpath('/' +
path).
|
list_folder(self, path)Return a list of files within a given folder. The SFTPAttributes objects, which are similar
in structure to the objects returned by os.stat. In
addition, each object should have its filename field
filled in, since this is important to a directory listing and not
normally present in os.stat results.
|
lstat(self, path)override -> SFTPAttributes |
stat(self, path)override -> SFTPAttributes |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Tue Sep 7 11:59:57 2004 | http://epydoc.sf.net |