If the file cannot be downloaded, or the downloaded content does not match the hash and size supplied, an error occurs and the instruction is terminated.
The file is downloaded into a randomly named sub-directory of TemporaryDirectory. From version 5.1 onwards, the location of TemporaryDirectory is a configuration setting of the 1E Client.
The sub-directory and file is deleted when the instruction ends. If you want to keep the file, make the instruction copy it to a permanent location.
It is a runtime error if the status code from a GET request on the full absolute URL is not 200.
A common use for this function is to download a script which can then be executed locally.
To download content from an external web-server, you can instead set the URL property to the full URL of the file to be downloaded.