xref: /aosp_15_r20/external/curl/docs/cmdline-opts/append.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerShort: a
5*6236dae4SAndroid Build Coastguard WorkerLong: append
6*6236dae4SAndroid Build Coastguard WorkerHelp: Append to target file when uploading
7*6236dae4SAndroid Build Coastguard WorkerProtocols: FTP SFTP
8*6236dae4SAndroid Build Coastguard WorkerCategory: ftp sftp
9*6236dae4SAndroid Build Coastguard WorkerAdded: 4.8
10*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - range
13*6236dae4SAndroid Build Coastguard Worker  - continue-at
14*6236dae4SAndroid Build Coastguard WorkerExample:
15*6236dae4SAndroid Build Coastguard Worker  - --upload-file local --append ftp://example.com/
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--append`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerWhen used in an upload, this option makes curl append to the target file
21*6236dae4SAndroid Build Coastguard Workerinstead of overwriting it. If the remote file does not exist, it is
22*6236dae4SAndroid Build Coastguard Workercreated. Note that this flag is ignored by some SFTP servers (including
23*6236dae4SAndroid Build Coastguard WorkerOpenSSH).
24