Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Feedback: Report problem or ask question.