Lasso Soft Inc. > Home



[curlopt_crlf] is used together with [curl->set]. The parameter expected by [curl->set] is an integer. A value of 1 means that curl should convert Unix newlines to CRLF newlines on transfers. A value of 0 means that the option is off.

Lasso Programming:
  • Syntax
curl->set(curlopt_crlf,{1 or 0})
  • Beginner

To download a text file using curl, and have the Unix newlines converted to CRLF newlines at the same time


local(c = curl(''))
#c->set(curlopt_crlf, 1)

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft