| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
CURL.GetProgressCurrentUpload
Queries current number of bytes uploaded.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.GetProgressCurrentUpload"; curl ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
Result
The number of bytes already uploaded.
Description
Queries current number of bytes uploaded.Only useful with CURL.PerformInBackground.
Examples
Calculate percent uploaded
Set Variable [ $percent; Value: 100 * MBS( "CURL.GetProgressCurrentDownload"; $curl ) / MBS( "CURL.GetProgressTotalDownload"; $curl ) ]
See also
- CURL.GetProgressCurrentDownload
- CURL.GetProgressTotalDownload
- CURL.GetProgressTotalUpload
- CURL.Perform
- CURL.PerformAsync
- CURL.PerformInBackground
- CURL.SetProgressScript
This function is free to use.
Created 18th August 2014, last changed 5th September 2025