Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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.