DownloadAs

Downloads the given file with the given file name.

Syntax

Browser.DownloadAs
   ·  [url]
   ·  [name]
   ·  [overwrite]

Parameters

url
The URL to download.
name
The name to give to the downloaded file.
overwrite
Whether to overwrite if a file with the same name already exists. Otherwise, a unique number will be appended to the file name.

Return Value

The name of the downloaded file.

Remarks

The file will be downloaded into the Downloads folder inside the project folder. This folder will be created if needed.