Class | Net::SFTP::Operations::Write |
In: |
lib/net/sftp/operations/write.rb
|
Parent: | Abstract |
Implements the write operation. Handles, automatically, the looping necessary to write a large data set.
CHUNK_SIZE | = | 32 * 1024 | The maximum size of data that will be written at one time. |
Invoked when the server sends a status packet. If the status is FX_OK, then the callback is invoked (if all data has been written), or the next chunk is written to the server (if more data remains). Other status codes are handled by the superclass.