The HTTP Download action is used to download a file from the internet using the HTTP protocol. The data downloaded can be saved to a file or used to populate a variable or both. (To populate a variable with the data, you must create the variable first using the Create Variable action.)
From the Task Builder Available Actions pane, open the Internet folder and double-click the HTTP Download action or drag it into the Steps pane.
In the URL box, enter the URL for the file to download.
If you want to save the data to a local file, click the Open Folder button next to the Local file box and navigate to the file. If you want the file data appended to any data already in the file, clear the Overwrite box. Otherwise the file will be overwritten each time the task runs.
If you want to prevent the web page from setting cookies, select Block cookies.
To populate a variable with the file data, select the variable in the Populate variable with result box.
Click the Advanced tab and enter the properties as follows:
In the Timeout box, enter the maximum duration in seconds that AutoMate should wait for the file to download before giving up.
If you want to use authentication, select the Use authentication box and enter the user name and password.
If you do not want to use the default proxy server as entered in Task Administrator System Options, click the Proxy tab and select an alternate setting in the Proxy type box. The options are None, Socks4, Socks4a, or Socks5. If you select any option other than None, enter the properties as follows:
In the Proxy host box, enter the host name or IP address for the proxy server.
Change the proxy port number if needed. The default proxy port is 1028.
If you are using Socks5 and want to use authentication, select the Use authentication check box, and enter the user ID and password.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
HTTP download Action