Error getting tags :
error 404Error getting tags :
error 404 browserDownloadRequest | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
browserDownloadRequest
Basics
Expander triangle
Type
Message
Syntax

browserDownloadRequest instanceId, url

XBrowser_DownloadRequest url, instanceId

Introduced
2.8.1
Environment
Desktop
Platform Support
Mac OS X,Windows
Security
Network
Summary
Sent when a download has been requested in a browser object.
Examples

on browserDownloadRequest pInstanceId, pUrl
if urlForbidden(pUrl) then
global browserCancel
rCancel
erCancel
erCancel
end if
end browserDownloadRequest

Additional Comments
Expander triangle

The browserDownloadRequest message is sent to the current card of stack containing a browser object when a url has been requested as a download.

On Windows, if the browserCancel global is set to false on exit from the callback, the browser proceeds to download the file.

On OS X, the callback is a notification only and downloading should be performed by the host application.

Parameters

The url is the url of the resource about to be downloaded

The instanceId is the integer identifier of the browser object

Note: For general information on using the browser library, see the notes in the revBrowserOpen function reference.

User Comments
Expander triangle