Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionIgnoreContentLength

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionIgnoreContentLength"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value Whether to ignore content length. 1 to ignore and 0 to not ignore. 1

Result

Returns "OK" on success.

Description

Whether to ignore the Content-Length header.
This is useful for Apache 1.x (and similar servers) which will report incorrect content length for files over 2 gigabytes. If this option is used, curl will not be able to accurately report progress, and will simply stop the download when the server ends the connection.

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Pfarrgemeinde St. Arnulf Nickenich