Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Component: WebDownloadDelegate

Allow controlled downloads on macOS webviewer.

Normally FileMaker ignores downloads. Using plugin classes you can allow downloads and get a script triggered when download completes.
For WebKit 1 and 2.

Version macOS Windows Linux Server iOS SDK
2.7 / 2.8 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes

Item Details
WebDownloadDelegate.Cancel
Cancels download.
Mac/iOS
2.7
WebDownloadDelegate.ClearBeginDownloadHandler
Clears the script called for beginning downloads.
Mac/iOS
2.7
WebDownloadDelegate.ClearDidDownloadHandler
Clears the script called for finished downloads.
Mac/iOS
2.7
WebDownloadDelegate.ClearFailHandler
Clears the script called for failed downloads.
Mac/iOS
2.7
WebDownloadDelegate.ClearFolder
Clears the download folder.
Mac/iOS
2.8
WebDownloadDelegate.ClearProgressHandler
Clears the script called for download progress.
Mac/iOS
2.7
WebDownloadDelegate.DownloadedLength
Number of bytes downloaded so far.
Mac/iOS
2.7
WebDownloadDelegate.ErrorMessage
The last error message from download.
Mac/iOS
2.7
WebDownloadDelegate.GetFolder
Queries current defined download folder.
Mac/iOS
2.8
WebDownloadDelegate.Install
Assigns this web viewer our download delegate.
Mac/iOS
2.7
WebDownloadDelegate.MIMEType
Returns the MIME type.
Mac/iOS
2.7
WebDownloadDelegate.Path
The file path of the downloaded file.
Mac/iOS
2.7
WebDownloadDelegate.SetBeginDownloadHandler
Sets the script called when a download is about to begin.
Mac/iOS
2.7
WebDownloadDelegate.SetDidDownloadHandler
Sets the script called when a download finished.
Mac/iOS
2.7
WebDownloadDelegate.SetFailHandler
Sets the script called when a download failed.
Mac/iOS
2.7
WebDownloadDelegate.SetFolder
Sets the download folder.
Mac/iOS
2.8
WebDownloadDelegate.SetProgressHandler
Sets the script called when a download made progress.
Mac/iOS
2.7
WebDownloadDelegate.URL
Queries current URL.
Mac/iOS
2.7
WebDownloadDelegate.expectedContentLength
Returns the expected content length.
Mac/iOS
2.7
WebDownloadDelegate.suggestedFilename
Returns a suggested filename.
Mac/iOS
2.7
WebDownloadDelegate.textEncodingName
Returns the name of the receiver's text encoding provided by the response's originating source.
Mac/iOS
2.7

21 functions shown.

3 functions require a license (14%) and 18 functions are free to use.

Release notes

Blog Entries

Example Databases

💬 Ask a question or report a problem