Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  


Sets the length of post field data.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes
MBS( "CURL.SetOptionPostFieldSize"; curl; Value )   More

(old name: CURL.SetOptionPostFieldSizeLarge)


Parameter Description Example value
curl The CURL session handle. $curl
Value The post fields data size in bytes. 1234


Returns "OK" on success.


Sets the length of post field data.
If you want to post data to the server without letting libcurl do a string length() to measure the data size, this option must be used. When this option is used you can post fully binary data, which otherwise is likely to fail. If this size is set to -1, the library will use strlen() to get the size.

See also POSTFIELDSIZE option in CURL manual.

See also

Created 18th August 2014, last changed 18th July 2019

CURL.SetOptionPost   -   CURL.SetOptionPostFields

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins