Package paramiko :: Module sftp_server :: Class SFTPHandle
[show private | hide private]
[frames | no frames]

Type SFTPHandle

object --+
         |
        SFTPHandle


Abstract object representing a handle to an open file (or folder) on the server. Each handle has a string representation used by the client to refer to the underlying file.
Method Summary
  __init__(self)
  _get_next_files(self)
Used by the SFTP server code to retreive a cached directory listing.
  _set_files(self, files)
Used by the SFTP server code to cache a directory listing.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

_get_next_files(self)

Used by the SFTP server code to retreive a cached directory listing.

_set_files(self, files)

Used by the SFTP server code to cache a directory listing. (In the SFTP protocol, listing a directory is a multi-stage process requiring a temporary handle.)

Generated by Epydoc 2.1 on Sat Oct 23 00:28:17 2004 http://epydoc.sf.net