Class | Net::SFTP::Operations::Abstract |
In: |
lib/net/sftp/operations/abstract.rb
|
Parent: | Object |
Status | = | Struct.new( :code, :message, :language ) | A structure for reporting status information. | |
OK | = | Status.new( FX_OK, "Success", "" ) | A constant for representing the commonly-used FX_OK status. |
Create a new operation with the given logger instance, which will operate atop the given session, using the given driver to format and send the requests to the server.
A callback for SFTP attrs packets. By default, invokes the registered callback, passing an OK status and the attributes object.
A callback for SFTP data packets. By default, invokes the registered callback, passing an OK status and the data.
A callback for SFTP handle packets. By default, invokes the registered callback, passing an OK status and the handle.
A callback for SFTP name packets. By default, invokes the registered callback, passing an OK status and the list of items.
A callback for SFTP status packets. By default, raises an exception unless the status is FX_OK, in which case the registered callback is invoked.