WebDownloadDelegate.Path
------------------------

The file path of the downloaded file.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebDownloadDelegate](component_WebDownloadDelegate.md) | [2.7](newinversion27.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "WebDownloadDelegate.Path" ) ### Parameters

none

### Result

Returns file path.

### Description

The file path of the downloaded file.  
This is a temporary file and you should import, move, rename or copy it.  
If you don't delete this file, it will be on the next restart of the Mac.  
  
You may need to use [Files.MoveFile](FilesMoveFile.md) later to move the file to the place you like.  
  
This function requires a native path. Use [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md) to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use [FileDialog](component_FileDialog.md) functions.  
### See also

- [Files.MoveFile](FilesMoveFile.md)
- [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md)
- [WebDownloadDelegate.Cancel](WebDownloadDelegateCancel.md)
- [WebDownloadDelegate.Install](WebDownloadDelegateInstall.md)
- [WebDownloadDelegate.SetDidDownloadHandler](WebDownloadDelegateSetDidDownloadHandler.md)
- [WebDownloadDelegate.SetProgressHandler](WebDownloadDelegateSetProgressHandler.md)
- [WebDownloadDelegate.URL](WebDownloadDelegateURL.md)

### Example Databases

- [WebViewer/WebViewer Download Delegate for Mac](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/WebViewer%20Download%20Delegate%20for%20Mac.shtml#3ScriptAnchor_)

### Blog Entries

- [Web Download Delegate for WebKit 2 in FileMaker](https://www.mbsplugins.de/archive/2023-08-29/Web_Download_Delegate_for_WebK/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 26th August 2023

  
[WebDownloadDelegate.MIMEType](WebDownloadDelegateMIMEType.md) - [WebDownloadDelegate.SetBeginDownloadHandler](WebDownloadDelegateSetBeginDownloadHandler.md)

[HTML Version](WebDownloadDelegatePath.shtml)