curl/docs/cmdline-opts/upload-flags.md
Viktor Szakats 46429d6f44
GHA/checkdocs: re-enable proselint, update setup, fix issues found
- update configuration and invocation.
- install via pip.
- drop a file exception.
- alpha sort proselint settings.
- FILEFORMAT: update text about XML compliance.
- CI job takes 22 seconds total.

Ref: https://github.com/amperser/proselint/releases/tag/v0.16.0

Follow-up to 38bfe1c2aa2a6c8af29d525eb231ad66861199b1 #15314

Closes #19931
2025-12-11 11:42:28 +01:00

754 B

c, SPDX-License-Identifier, Long, Arg, Help, Protocols, Category, Added, Multi, See-also, Example
c SPDX-License-Identifier Long Arg Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl upload-flags <flags> IMAP upload behavior IMAP 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.