Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionUploadFlags
Which flags to send the server relating to uploaded files.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionUploadFlags"; curl; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | The new setting. | 1 |
Result
Returns OK or error.
Description
Which flags to send the server relating to uploaded files.The current supported flags are Answered (1), which sets the Answered flag for IMAP uploads, Deleted (2), which sets the Deleted flag for IMAP uploads, Draft (4), which sets the Draft flag for IMAP uploads, Flagged (8), which sets the Flagged flag for IMAP uploads, and Seen (16), which sets the Seen flag for IMAP uploads.
See also UPLOAD_FLAGS option in CURL manual.
See also
Release notes
- Version 15.2
- Added CURL.SetOptionTCPKeepCount and CURL.SetOptionUploadFlags functions.
Blog Entries
This function checks for a license.
Created 13th April 2025, last changed 13th April 2025
