New in package 167
Description
Launches download process for the specified file. Downloads window (Tools > Downloads) displays the list of active / recent file downloads.
Syntax
StartDownload( url, [ downloadDir ] );
Parameters
Parameter | Description |
---|---|
url | HTTP URL of a file to download (http[s]://domain[:port]/path) |
downloadDir | Optional path to a download directory. If not specified, the file will be downloaded to the user's Downloads folder (or to the desktop if the Downloads folder doesn't exist). |