CURL.SetProgressEvaluate
------------------------

Sets expression to be run when transfer makes progress.

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

MBS( "CURL.SetProgressEvaluate"; curl; Expression ) 

**MBS**( **"CURL.SetProgressEvaluate";** /\* Sets expression to be run when transfer makes progress. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Expression**) /\* The expression to evaluate.  
Can be in local language of FileMaker Pro or english.   
For Server must always be in english.e.g. "Let ( $$Done = 1 ; 1 )" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Expression | The expression to evaluate.   Can be in local language of FileMaker Pro or english.    For Server must always be in english. | "Let ( $$Done = 1 ; 1 )" |

### Result

Returns OK or error.

### Description

Sets expression to be run when transfer makes progress.  
In the expression the text $$ID$$ will be replaced when evaluated with the curl reference, so you can pass it to other functions if needed.  
### See also

- [CURL.GetProgressEvaluate](CURLGetProgressEvaluate.md)
- [CURL.GetProgressFileName](CURLGetProgressFileName.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.1pr5](https://www.mbsplugins.de/archive/2016-03-06/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)
- [Evaluate vs. Script Trigger](https://www.mbsplugins.de/archive/2016-03-04/Evaluate_vs_Script_Trigger/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 4th March 2016 , last changed 27th December 2023

  
[CURL.SetOptionXOAuth2Bearer](CURLSetOptionXOAuth2Bearer.md) - [CURL.SetProgressScript](CURLSetProgressScript.md)

[HTML Version](CURLSetProgressEvaluate.shtml)