Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

CURL.SetOptionIgnoreContentLength

Whether to ignore the Content-Length header.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

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.

CURL.SetOptionIPResolve   -   CURL.SetOptionInFileSize

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins