Use the DownloadFile component
task brazil Updated Sep 10, 2026 1 min read use-utilities-http-downloadfile.md
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
-
In the Toolbox pane, navigate to Utilities > HTTP.
-
Drag the DownloadFile component to the Design surface.
-
To configure the input fields, see Configure port properties.
-
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 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 -
To test the component, under the DESIGN tab, click Run.
Parent Topic:HTTP
50 lines · 2.7 KB
---
title: Use the DownloadFile component
description: Download a file over the HTTP protocol using the DownloadFile component in RPA Desktop Design Studio.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/integrate-applications/use-utilities-http-downloadfile.html
release: brazil
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [HTTP, Utilities, Automation components, RPA Desktop Design Studio, Robotic Process Automation \(RPA\) Hub, Workflow Data Fabric]
---
# 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/properties-http-components.md).
## 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/configure-input-port-properties.md).
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 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|
5. To test the component, under the **DESIGN** tab, click **Run**.
**Parent Topic:**[HTTP](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/http.md)
| title | Use the DownloadFile component |
| description | Download a file over the HTTP protocol using the DownloadFile component in RPA Desktop Design Studio. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/integrate-applications/use-utilities-http-downloadfile.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | HTTPUtilitiesAutomation componentsRPA Desktop Design StudioRobotic Process Automation \(RPA\) HubWorkflow Data Fabric |