Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Returns a suggested filename.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebDownloadDelegate 2.7 Yes No No No No

MBS( "WebDownloadDelegate.suggestedFilename" )




Returns a suggested filename.


Returns a suggested filename.
The method tries to create a filename using the following, in order:

If the host of URL can't be converted to a valid filename, the filename "unknown” is used.

In most cases, this method appends the proper file extension based on the MIME type. This method will always return a valid filename regardless of whether or not the resource is saved to disk.

Example Databases

WebDownloadDelegate.expectedContentLength   -   WebDownloadDelegate.textEncodingName

Feedback: Report problem or ask question.

MBS FileMaker blog