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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

CURL.SetOptionMaxSendSpeed

Sets the maximum sending speed.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionMaxSendSpeed"; curl; Value )   More

(old name: CURL.SetOptionMaxSendSpeedLarge)

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Maximum sending speed in bytes per second. 50000

Result

Returns "OK" on success.

Description

Sets the maximum sending speed.
If an upload 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.
Useful if you have a limited pipe and you'd like your transfer not to use your entire bandwidth.
Slowing down the transfer speed is also useful for lowering CPU consumption during transfers.

See also MAX_SEND_SPEED option in CURL manual.

See also

Blog Entries

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


CURL.SetOptionMaxRedirs - CURL.SetOptionNETRCFile

Feedback: Report problem or ask question.