search for: write_to_remote_file

Displaying 1 result from an estimated 1 matches for "write_to_remote_file".

2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
.... Pseudo Instruction of the new "do_append" function: 1) stat_remote_file This will return an Attrib struct to know the remote file size. 2) open_remote_file Open the remote file without the "SSH2_FXF_TRUNC" flag and with SSH2_FXF_APPEND flag. 3) write_to_remote_file It is like the "do_upload" function, expect that the offset does not start with a '0' but it is set to the value returned by "stat_remote_file". More in depth I have use the function "do_fstat" to retrive remote_file size. The fun...