@brief Write to a file using an opened sftp file handle.
@param file Open sftp file handle to write to.
@param buf Pointer to buffer to write data.
@param count Size of buffer in bytes.
@return Number of bytes written, < 0 on error with ssh and sftp error set.
@see sftp_open() @see sftp_read() @see sftp_close()
See Implementation
@brief Write to a file using an opened sftp file handle.
@param file Open sftp file handle to write to.
@param buf Pointer to buffer to write data.
@param count Size of buffer in bytes.
@return Number of bytes written, < 0 on error with ssh and sftp error set.
@see sftp_open() @see sftp_read() @see sftp_close()