Module

Operations

There's no documentation for this item.

Modules
Constants
Classes
Abstract The base class for all SFTP operations. Subclasses must implement a perform method, which accepts the arguments expected by the corresponding method of the driver. Subclasses may also override the default implementations of do_status, do_data, do_name, do_handle, and do_attrs, as necessary.
Close The implementation of the close operation, for closing an open handle.
Fsetstat The implementation of the fsetstat operation.
Fstat The implementation of the fstat operation.
Lstat The implementation of the lstat operation.
Mkdir The implementation of the mkdir operation.
Open Implements the open operation, for obtaining a handle to an open file on the server.
Opendir Implements the opendir operation, for obtaining a handle to an open directory on the server.
Read Implements the read operation, which reads data from an open file handle. This also implements the common case of reading to the end of the file. In that case, the callback is guaranteed to receive the contents of the entire file in one chunk.
Readdir Implements the readdir operation. This will handle the continuous calls to readdir until the entire contents of the directory have been read, returning them in a single array.
Realpath Implements the realpath operation.
Remove Implements the remove operation.
Rename Implements the rename operation.
Rmdir Implements the rmdir operation.
Setstat Implements the setstat operation.
Stat Implements the stat operation.
StatusException A exception class for reporting a non-success result of an operation.
Write Implements the write operation. Handles, automatically, the looping necessary to write a large data set.
Public Methods
register_services Register all services that implement an SFTP operation.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.