Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionPostFieldSize
Sets the length of post field data.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 2.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.SetOptionPostFieldSize"; curl; Value ) More
(old name: CURL.SetOptionPostFieldSizeLarge)
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | 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 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
- CURL.GetOptionPostFields
- CURL.SetOptionInFileSize
- CURL.SetOptionMaxFileSize
- CURL.SetOptionPost
- CURL.SetOptionPostFields
- CURL.SetOptionPostRedir
Created 18th August 2014, last changed 18th July 2019
CURL.SetOptionPost - CURL.SetOptionPostFields
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins