xref: /curl/docs/cmdline-opts/append.md (revision 2494b8dd)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Short: a
5Long: append
6Help: Append to target file when uploading
7Protocols: FTP SFTP
8Category: ftp sftp
9Added: 4.8
10Multi: boolean
11See-also:
12  - range
13  - continue-at
14Example:
15  - --upload-file local --append ftp://example.com/
16---
17
18# `--append`
19
20When used in an upload, this option makes curl append to the target file
21instead of overwriting it. If the remote file does not exist, it is
22created. Note that this flag is ignored by some SFTP servers (including
23OpenSSH).
24