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: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the buffer size.

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


Parameter Description Example value
curl The CURL session handle. $curl
Value The buffer size. 50000


Returns "OK" on success.


Sets the buffer size.
Pass a number specifying your preferred size (in bytes) for the receive buffer in libcurl. The main point of this would be that the write callback gets called more often and with smaller chunks. This is just treated as a request, not an order. You cannot be guaranteed to actually get the given size.

This size is by default set as big as possible (CURL_MAX_WRITE_SIZE), so it only makes sense to use this option if you want it smaller.

See also BUFFERSIZE option in CURL manual.


Sets buffer size:

MBS( "CURL.SetOptionBufferSize"; $curl; 1024*1024 )

See also

Created 18th August 2014, last changed 8th December 2016

CURL.SetOptionAutoReferer   -   CURL.SetOptionCAINFO

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins