CURL.IsRunning
--------------

Checks whether a transfer is still running.

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

MBS( "CURL.IsRunning"; curl ) 

**MBS**( **"CURL.IsRunning";** /\* Checks whether a transfer is still running. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |

### Result

Returns 1 if transfer is running or 0 if not.

### Description

Checks whether a transfer is still running.  
This is useful if you started transfer with [CURL.PerformInBackground](CURLPerformInBackground.md) and you want to know whether it has finished yet or not.  
When perform is done in background, use [CURL.ErrorCode](CURLErrorCode.md) and [CURL.ErrorMessage](CURLErrorMessage.md) to query result status.  
### See also

- [CURL.ErrorCode](CURLErrorCode.md)
- [CURL.ErrorMessage](CURLErrorMessage.md)
- [CURL.Perform](CURLPerform.md)
- [CURL.PerformAsync](CURLPerformAsync.md)
- [CURL.PerformInBackground](CURLPerformInBackground.md)

### Example Databases

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

### Blog Entries

- [Parallel network transfers with MBS Plugin](https://www.mbsplugins.de/archive/2023-12-18/Parallel_network_transfers_wit/monkeybreadsoftware_blog_filemaker)
- [Batch sending Emails in FileMaker via MBS Plugin](https://www.mbsplugins.de/archive/2017-01-10/Batch_sending_Emails_in_FileMa/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 12nd November 2014

  
[CURL.Host](CURLHost.md) - [CURL.LibIDNVersion](CURLLibIDNVersion.md)

[HTML Version](CURLIsRunning.shtml)