Displaying 3 results from an estimated 3 matches for "ssh2_fxp_extend".
Did you mean:
ssh2_fxp_extended
2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
...to honor the APPEND flag, but there
is no way for the client to know if the server is patched or not...
* Suggestions:
1) Change the SSH2_FILEXFER_VERSION to something new.
2) Implement a VENDOR specific future to retrive the presence of the new
SSH2_FXF_APPEND future. We can do this using the SSH2_FXP_EXTENDED
command.
(This will be useful also for other patches; like the SSH_FXP_LINK patch)
If you want I can make a patch also for the server side.
Best regards,
--
Daniele Calore ( orkaan at orkaan.org )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssh-...
2007 Feb 18
2
SFTP: a new command to get filesystem size/free space
I am using sshfs with FUSE to mount a remote directory over ssh/sftp (on linux).
It would be nice if df could be able to show the total size/free space
of the mounted directory.
I am aware that returning size/free space would have some limitations.
For example, if a subdir of the mounted directory has another
filesystem mounted on the remote server, this can not be represented
simply.
However,
2009 Feb 12
2
[patch] hard link protocol extension for sftp
...wpath)
+{
+ Buffer msg;
+ u_int status, id;
+
+ buffer_init(&msg);
+
+ /* Send link request */
+ id = conn->msg_id++;
+ if ((conn->exts & SFTP_EXT_LINK) == 0) {
+ error("Server does not support link at openssh.com extension");
+ return -1;
+ }
+
+ buffer_put_char(&msg, SSH2_FXP_EXTENDED);
+ buffer_put_int(&msg, id);
+ buffer_put_cstring(&msg, "link at openssh.com");
+ buffer_put_cstring(&msg, oldpath);
+ buffer_put_cstring(&msg, newpath);
+ send_msg(conn->fd_out, &msg);
+ debug3("Sent message link at openssh.com \"%s\" -> \"...