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.SetOptionPostFieldSize

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"; Handle; Value )

(old name: CURL.SetOptionPostFieldSizeLarge)

Parameters

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

Result

Returns "OK" on success.

Description

Sets the length of post field data.
If you want to post data to the server without letting libcurl do a strlen() 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


CURL.SetOptionPost   -   CURL.SetOptionPostFields

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins