Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Use the DownloadFile component

Download a file over the HTTP protocol using the DownloadFile component in RPA Desktop Design Studio.

Before you begin

Role required: none

About this task

You can configure the properties for the DownloadFile component. For more information about these properties, see Properties of the HTTP components.

Procedure

  1. In the Toolbox pane, navigate to Utilities > HTTP.

  2. Drag the DownloadFile component to the Design surface.

  3. To configure the input fields, see Configure port properties.

  4. Connect the data and control ports of the DownloadFile component to the corresponding ports of the other components as described in the following table:

    Port namePort typeData typePurpose of connectionMandatory?
    URLData InStringTakes the URL from a previously executed component.Yes
    FilePathData InStringTakes the path to the file the method downloads from a previously executed component.Yes
    UserNameData InStringTakes the user name to log in to the server from a previously executed component.Yes
    PasswordData InStringTakes the password to log in to the server from a previously executed component.Yes
    RequestTimeoutData InIntegerTime value in seconds to timeout the download request. If the download request does not happen after the timeout value that you set, the download request fails and a connection timeout exception is displayed. The default value of timeout is 100 seconds.Optional
    NAControl InNAPasses the control through the Control In port of the next component.Optional
    NAControl OutNAPasses the control through the Control In port of the next component.Optional
  5. To test the component, under the DESIGN tab, click Run.

Parent Topic:HTTP