aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/append.d
blob: 7561c951c58112077053e4af78b6a2d1a49f9b75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
See-also: range continue-at
Example: --upload-file local --append ftp://example.com/
Added: 4.8
Multi: boolean
---
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).