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

CURL.GetProgressPercent

Queries progress in percent.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns number or error.

Description

Queries progress in percent.
This is percent of upload/download of current transfer.
Range is 0 to 100.

Examples

Update progress field in a progress script:

Set Variable [$curl; Value:Get(ScriptParameter)]
Set Variable [$RecordID; Value:MBS("CURL.GetTag"; $curl)]
Go to Record/Request/Page [No dialog; $RecordID]
Set Field [Download Async::Progress; MBS("CURL.GetProgressPercent"; $curl)]
Commit Records/Requests [Skip data entry validation; No dialog]

See also

Example Databases

This function is free to use.

Created 12nd July 2015, last changed 27th December 2023


CURL.GetProgressFileName - CURL.GetProgressScriptName