---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the DownloadFile component

# Use the DownloadFile component {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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](https://www.servicenow.com/docs/pTQjkJYxRSuqTRTpddI_yQ "Learn about the properties of the HTTP components in RPA Desktop Design Studio.").

## Procedure

1. In the Toolbox pane, navigate to UtilitiesHTTP.
2. Drag the DownloadFile component to the Design surface.
3. To configure the input fields, see [Configure port properties](https://www.servicenow.com/docs/d92L75lHSFmmidzeOPPgTw "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").
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:  
   {#use-utilities-http-downloadfile__table_jnw_jn1_krb__entry__5}

   | Port name | Port type | Data type | Purpose of connection | Mandatory? |
   |-|-|-|-|-|
   | URL | Data In | String | Takes the URL from a previously executed component. | Yes |
   | FilePath | Data In | String | Takes the path to the file the method downloads from a previously executed component. | Yes |
   | UserName | Data In | String | Takes the user name to log in to the server from a previously executed component. | Yes |
   | Password | Data In | String | Takes the password to log in to the server from a previously executed component. | Yes |
   | RequestTimeout | Data In | Integer | Time 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 |
   | NA | Control In | NA | Passes the control through the Control In port of the next component. | Optional |
   | NA | Control Out | NA | Passes the control through the Control In port of the next component. | Optional |
   [ ]

   {#use-utilities-http-downloadfile__table_jnw_jn1_krb}
5. **Optional:** To test the component, under the DESIGN tab, click Run.

*[\>]: and then


