WebDownloadDelegate.Cancel
--------------------------

Cancels download.

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

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

none

### Result

Returns OK on success or error.

### Description

Cancels download.  
Make sure you cleanup your stuff like a progress dialog.  
### See also

- [WebDownloadDelegate.Install](WebDownloadDelegateInstall.md)
- [WebDownloadDelegate.Path](WebDownloadDelegatePath.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#2ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 13th May 2021

  
[WMIQuery.ReleaseAll](WMIQueryReleaseAll.md) - [WebDownloadDelegate.ClearBeginDownloadHandler](WebDownloadDelegateClearBeginDownloadHandler.md)

[HTML Version](WebDownloadDelegateCancel.shtml)