CURL.GetProgressPercent
-----------------------

Queries progress in percent.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [5.2](newinversion52.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.GetProgressPercent"; curl ) 

**MBS**( **"CURL.GetProgressPercent";** /\* Queries progress in percent. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### 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](CURLGetTag.md)"; $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

- [CURL.GetTag](CURLGetTag.md)
- [CURL.SetProgressScript](CURLSetProgressScript.md)

### Example Databases

- [CURL/CURL Download in Background](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20in%20Background.shtml#1ScriptAnchor_)
- [CURL/Download Async](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Download%20Async.shtml#6ScriptAnchor_)

This function is free to use.

Created 12nd July 2015 , last changed 25th February 2026

  
[CURL.GetProgressFileName](CURLGetProgressFileName.md) - [CURL.GetProgressScriptName](CURLGetProgressScriptName.md)

[HTML Version](CURLGetProgressPercent.shtml)