Method Summary |
|
__init__(self,
sftp,
handle,
mode,
bufsize)
|
|
close (self)
Close the file. |
float
|
gettimeout (self)
Returns the timeout in seconds (as a float) associated with the socket
or ssh Channel used for this file. |
|
seek (self,
offset,
whence)
Set the file's current position, like stdio's fseek . |
|
setblocking (self,
blocking)
Set blocking or non-blocking mode on the underiying socket or ssh Channel . |
|
settimeout (self,
timeout)
Set a timeout on read/write operations on the underlying socket or ssh
Channel . |
SFTPAttributes
|
stat (self)
Retrieve information about this file from the remote system. |
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) |