Displaying 1 result from an estimated 1 matches for "open_remote_fil".
Did you mean:
open_remote_file
2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
...non patched versions.
The patch is "simple" it it just like the "do_upload" function in
"sftp-client.c".
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...