Added support for --append on SFTP uploads. Unfortunately, OpenSSH doesn't

support this so it goes untested.
This commit is contained in:
Dan Fandrich
2008-08-01 18:41:14 +00:00
parent a948ca1669
commit 42cabc14d4
6 changed files with 46 additions and 12 deletions

View File

@@ -106,8 +106,9 @@ the --option version of them. (This concept with --no options was added in
7.19.0. Previously most options were toggled on/off on repeated use of the
same command line option.)
.IP "-a/--append"
(FTP) When used in an FTP upload, this will tell curl to append to the target
(FTP/SFTP) When used in an upload, this will tell curl to append to the target
file instead of overwriting it. If the file doesn't exist, it will be created.
Note that this flag is ignored by some SSH servers (including OpenSSH).
.IP "-A/--user-agent <agent string>"
(HTTP) Specify the User-Agent string to send to the HTTP server. Some badly
done CGIs fail if this field isn't set to "Mozilla/4.0". To encode blanks in