upload-flags.md (738B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: upload-flags 5 Arg: <flags> 6 Help: IMAP upload behavior 7 Category: curl output 8 Added: 8.13.0 9 Multi: single 10 See-also: 11 - upload-file 12 Example: 13 - --upload-flags Flagged,!Seen --upload-file local/dir/file $URL 14 --- 15 16 # `--upload-flags` 17 18 Specify additional behavior to apply to uploaded files. Flags are 19 specified as either a single flag value or a comma-separated list 20 of flag values. These values are case-sensitive and may be negated 21 by prepending them with a '-' character. Currently the following 22 flag values are accepted: answered, deleted, draft, flagged, and 23 seen. The currently-accepted flag values are used to set flags on 24 IMAP uploads.