Download File

This activity allows you to download a file from an HTTP-based target. The output of this activity will be the File Name, File Hash, and the file itself in a special variable called File Path. The File Path variable represents the file on the file system, and it can only be used with workflow activities that support files as input, such as adding attachments in the Send Email activity.

Usage

This activity functions similarly to the HTTP Request activity.

Complete the following properties to use this activity:

  • HTTP Request - Specify the following information or click the Variable Reference icon to choose a variable:

    • Relative URL - Enter the relative URL for the requested resource (example: /xyz.html).
    • Method - Click the drop-down menu and choose the method to interact with the HTTP endpoint. For file downloads, this will most commonly be GET.
    • Request Body - Enter the body of the request.
  • Content Type - Click the drop-down menu and choose the content type.

  • Accept - Enter the MIME type for the Accept header.

  • User-Agent - Enter any applicable information for the User-Agent header.

  • Custom Headers - To include custom headers, click Add and enter the Header and Value.

  • Cookie - Click Add and enter any applicable information for the cookie header.

  • Allow Auto Redirect - Check the check box to allow auto-redirects.

  • Allow Sensitive Headers Redirect - Check the check box to allow redirects for sensitive headers such as “Authorization”, “WWW-Authenticate”, “Cookie”, or “Cookie2”. This property allows Automation to pass the authorization along with the redirect.

    Authorization Redirect