search for: stat_remote_file

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

2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
...had been tested on the current version of OpenSSH (the Portable CVS) and it works, also against 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 th...