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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CURL.Cancel

Cancels a running transfer in background.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns "OK" on success.

Description

Cancels a running transfer in background.
Technically set a flag so the background thread will quit soon. Can take a second till transfer ends.
Only useful with CURL.PerformInBackground.

Examples

Cancels a transfer running async or in background:

MBS( "CURL.Cancel"; $curl )

See also

Example Databases

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


CURL.AddInputText - CURL.Check

Feedback: Report problem or ask question.