Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


CURL.AddInputText - CURL.Check