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

Sets the maximum sending speed.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionMaxSendSpeedLarge"; Handle; Value )

Parameters

Parameter Description Example value
Handle 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


CURL.SetOptionMaxRedirs   -   CURL.SetOptionNETRCFile

Feedback: Report problem or ask question.




Links
MBS Xojo blog