2024-05-15 15:20:32 -04:00
|
|
|
---
|
2023-12-11 20:30:44 -05:00
|
|
|
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
|
2024-05-15 15:20:32 -04:00
|
|
|
See-also:
|
|
|
|
- range
|
|
|
|
- continue-at
|
|
|
|
Example:
|
|
|
|
- --upload-file local --append ftp://example.com/
|
2023-12-11 20:30:44 -05:00
|
|
|
---
|
2024-05-15 15:20:32 -04:00
|
|
|
|
|
|
|
# `--append`
|
|
|
|
|
2023-12-11 20:30:44 -05:00
|
|
|
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).
|