s2-mod/deps/curl/docs/cmdline-opts/upload-flags.md
2025-04-29 02:51:27 -04:00

738 B

c SPDX-License-Identifier Long Arg Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl upload-flags <flags> IMAP upload behavior curl output 8.13.0 single
upload-file
--upload-flags Flagged,!Seen --upload-file local/dir/file $URL

--upload-flags

Specify additional behavior to apply to uploaded files. Flags are specified as either a single flag value or a comma-separated list of flag values. These values are case-sensitive and may be negated by prepending them with a '-' character. Currently the following flag values are accepted: answered, deleted, draft, flagged, and seen. The currently-accepted flag values are used to set flags on IMAP uploads.