Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.SetOptionCRLF

Whether to convert newline characters.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionCRLF"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to convert newline characters. 1

Result

Returns "OK" on success.

Description

Whether to convert newline characters.
If the value is set to 1 (one), libcurl converts Unix newlines to CRLF newlines on transfers. Disable this option again by setting the value to 0 (zero).
This is a legacy option of questionable use.

See also CRLF option in CURL manual.

See also

Blog Entries

Created 18th August 2014, last changed 29th June 2017


CURL.SetOptionCAPATH - CURL.SetOptionCRLFile