CURL.GetBatchCurrentFilePath
----------------------------

Queries current file path.

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

MBS( "CURL.GetBatchCurrentFilePath"; curl ) 

**MBS**( **"CURL.GetBatchCurrentFilePath";** /\* Queries current file path. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

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

### Result

Returns text or error.

### Description

Queries current file path.  
For a batch download with wildcard match, you can query current file path to show in progress dialog.  
Only available while downloading a file.  
Returns the native path to the destination file.  
### See also

- [CURL.GetBatchCurrentFileName](CURLGetBatchCurrentFileName.md)

### Release notes

- **Version 7.0**
    - Added functions for batch download of files over FTP: [CURL.GetBatchCurrentFileName](http://www.mbsplugins.eu/CURLGetBatchCurrentFileName.shtml), [CURL.GetBatchCurrentFilePath](http://www.mbsplugins.eu/CURLGetBatchCurrentFilePath.shtml), [CURL.GetBatchDestinationPath](http://www.mbsplugins.eu/CURLGetBatchDestinationPath.shtml), [CURL.GetBatchFileNames](http://www.mbsplugins.eu/CURLGetBatchFileNames.shtml) and [CURL.SetBatchDestinationPath](http://www.mbsplugins.eu/CURLSetBatchDestinationPath.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 7.0pr1](https://www.mbsplugins.de/archive/2017-01-02/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 19th December 2016 , last changed 20th December 2016

  
[CURL.GetBatchCurrentFileName](CURLGetBatchCurrentFileName.md) - [CURL.GetBatchDestinationPath](CURLGetBatchDestinationPath.md)

[HTML Version](CURLGetBatchCurrentFilePath.shtml)