Displaying 9 results from an estimated 9 matches for "ssh2_fxf_append".
2013 Oct 14
0
[PATCH-resend] Implement SSH2_FXF_APPEND
Hi,
I submitted this a few weeks ago but here it is again since I got no
response. If there is somewhere else I should send this, please tell
me.
This patch implements SSH2_FXF_APPEND in the sftp server. It is a
fairly trivial patch and applies against the proper OpenSSH and the
Portable edition. I would argue that it is important for OpenSSH to
implement SSH2_FXF_APPEND since it is in the spec and clients who expect
it to work find that their files are overwritten rather than...
2013 Oct 14
6
[Bug 2159] New: Implement SSH2_FXF_APPEND
https://bugzilla.mindrot.org/show_bug.cgi?id=2159
Bug ID: 2159
Summary: Implement SSH2_FXF_APPEND
Product: Portable OpenSSH
Version: 6.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: sftp-server
Assignee: unassigned-bugs at mindrot.org
Reporter: ro...
2013 Sep 30
0
[PATCH] Implement SSH2_FXF_APPEND
Hi,
Here is a fairly simple patch to implement append mode for the sftp
server. The patch was tested against the portable version but it
applies cleanly to the normal version.
Regards
--
Ross Lagerwall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sftp_append.patch
Type: text/x-diff
Size: 2543 bytes
Desc: not available
URL:
2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
..."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
by "stat_remote_file".
More in depth I have use the function "do_fstat" to retr...
2004 Oct 25
1
Bug in sftp's chmod
Hi,
I've discovered that on OpenSSH_3.6.1p1 (the latest SSH available on
OSX, but I've also tried a couple of different linux distributions),
when you 'sftp' to it, and try to 'chmod' some file or directory, only
last three octal digits do actually matter.
Example:
sftp sshtest at localhost
Connecting to localhost...
sshtest at localhost's password:
sftp> ls -l
2005 Mar 15
0
SFTP append patch
Hi,
We plan to do automated file transfers with SFTP where an uploaded
file is always appended on the server, and I made this patch to
support that. The patch
1. adds the "ap" command to the client (syntax just like the put command)
2. adds in both client and server support for the SSH2_FXF_APPEND flag
of the "pflags" field of the file open message.
Patch is against 4.0p1.
Thanks,
Pete Dow
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-4.0p1-append-changes.diff
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev...
2001 Jun 20
1
SFTP Logging Redux.
...uct Stat Stat;
struct Stat {
@@ -115,6 +121,28 @@
return flags;
}
+void
+sflags_from_portable(char *psflags, int pflags)
+{
+ if (pflags & SSH2_FXF_READ)
+ *psflags = 'r';
+ psflags++;
+ if (pflags & SSH2_FXF_WRITE)
+ *psflags = 'w';
+ psflags++;
+ if (pflags & SSH2_FXF_APPEND)
+ *psflags = 'a';
+ psflags++;
+ if (pflags & SSH2_FXF_CREAT)
+ *psflags = 'c';
+ psflags++;
+ if (pflags & SSH2_FXF_TRUNC)
+ *psflags = 't';
+ psflags++;
+ if (pflags & SSH2_FXF_EXCL)
+ *psflags = 'e';
+}
+
Attrib *
get_attrib(void)
{
@@ -370,6 +...
2013 Jul 25
122
[Bug 2130] New: Bugs intended to be fixed in 6.4
https://bugzilla.mindrot.org/show_bug.cgi?id=2130
Bug ID: 2130
Summary: Bugs intended to be fixed in 6.4
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at
2002 Mar 15
4
PATCH: sftp-server logging.
...--- 143,173 ----
return flags;
}
+ #ifdef SFTP_LOGGING
+ void
+ sflags_from_portable(char *psflags, int pflags)
+ {
+ if (pflags & SSH2_FXF_READ)
+ *psflags = 'r';
+ psflags++;
+ if (pflags & SSH2_FXF_WRITE)
+ *psflags = 'w';
+ psflags++;
+ if (pflags & SSH2_FXF_APPEND)
+ *psflags = 'a';
+ psflags++;
+ if (pflags & SSH2_FXF_CREAT)
+ *psflags = 'c';
+ psflags++;
+ if (pflags & SSH2_FXF_TRUNC)
+ *psflags = 't';
+ psflags++;
+ if (pflags & SSH2_FXF_EXCL)
+ *psflags = 'e';
+ return;
+ }
+ #endif
+
static A...