Home | Trees | Index | Help |
---|
Package paramiko :: Module sftp :: Class SFTPFile |
|
object
--+ |BufferedFile
--+ | SFTPFile
Method Summary | |
---|---|
__init__(self,
sftp,
handle,
mode,
bufsize)
| |
Close the file. | |
Set the file's current position, like stdio's fseek . | |
SFTPAttributes |
Retrieve information about this file from the remote system. |
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 | |
x.__str__() <==> str(x) |
Method Details |
---|
close(self)Close the file. Future read and write operations will fail.
|
seek(self, offset, whence=0)Set the file's current position, like stdio'sfseek .
Not all file objects support seeking.
|
stat(self)Retrieve information about this file from the remote system. This is exactly likeSFTP.stat , except that it operates on an
already-open file.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Apr 23 15:55:50 2004 | http://epydoc.sf.net |