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.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

CURL.SetOptionMaxRecvSpeed

Sets the maximum download speed.

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

(old name: CURL.SetOptionMaxRecvSpeedLarge)

Parameters

Parameter Description Example value
curl The CURL session handle. $curl
Value The maximum download speed in bytes per second. 50000

Result

Returns "OK" on success.

Description

Sets the maximum download speed.
If a download exceeds this speed (counted in bytes per second) on cumulative average during the transfer, the transfer will pause to keep the average rate less than or equal to the parameter value. Defaults to unlimited speed.

See also MAX_RECV_SPEED option in CURL manual.

See also

Created 18th August 2014, last changed 20th April 2018


CURL.SetOptionMaxFileSize   -   CURL.SetOptionMaxRedirs

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins