Download File#
Save a file from the internet to the User's computer.
| URL | [Text] Link to the file that needs to be downloaded. Must start with a protocol, for example,
|
| File Name | [Text] The name of the file with which to save the downloaded file on the User's computer. You can enter the full file name including the path. If you specify only the file name, it will be created in the Robot's working folder. If you specify a full or relative path, it will be saved where you indicate. |
| Auto-Extension | If enabled, the extension of the specified file name will be replaced with the extension that the server provides when downloading the file. |
| UserAgent | UserAgent to be used when downloading. |
| TLS 12 | If checked, the secure TLS 12 protocol will be used when accessing the Web page. Otherwise, the outdated TLS 11 protocol will be used. |
| Headers | [Dictionary] Headers passed in the request. |
| Cookies | [List] List of cookies. This property should contain a list of Cookie objects. The list can be obtained using the "Data Table in Cookies" block, using the "Get Cookies" block from the "Browser Automation" palette, using the output property "Cookies" of this block. |
| Login | [Text] Login for basic authentication. An Authorization header is created. |
| Password | [Text/SecureString] Password for basic authentication. An Authorization header is created. |
| Timeout | [Number] Timeout in seconds. |
| Alternative Method | The alternative method uses the base class WebClient. |
| Response Code | [Number] HTTP response code. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value of the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value of the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |