aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/append.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/append.md')
-rw-r--r--docs/cmdline-opts/append.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/cmdline-opts/append.md b/docs/cmdline-opts/append.md
new file mode 100644
index 000000000..3d0030d6a
--- /dev/null
+++ b/docs/cmdline-opts/append.md
@@ -0,0 +1,23 @@
+---
+c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
+SPDX-License-Identifier: curl
+Short: a
+Long: append
+Help: Append to target file when uploading
+Protocols: FTP SFTP
+Category: ftp sftp
+Added: 4.8
+Multi: boolean
+See-also:
+ - range
+ - continue-at
+Example:
+ - --upload-file local --append ftp://example.com/
+---
+
+# `--append`
+
+When used in an upload, this option makes curl append to the target file
+instead of overwriting it. If the remote file does not exist, it is
+created. Note that this flag is ignored by some SFTP servers (including
+OpenSSH).