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

CURL.GetProgressTotalUpload

Queries total number of bytes to upload.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

The number of bytes to upload.

Description

Queries total number of bytes to upload.
Only useful with CURL.PerformInBackground.

Examples

Calculate percent uploaded

$percent = 100 * MBS( "CURL.GetProgressCurrentUpload"; $curl ) / MBS( "CURL.GetProgressTotalUpload"; $curl )

See also

This function is free to use.

Created 18th August 2014, last changed 27th December 2023


CURL.GetProgressTotalDownload - CURL.GetProtocol