# Download File

> `UiPath.Salesforce.Activities.DownloadFile`

`UiPath.Salesforce.Activities.DownloadFile`

Downloads a file from Salesforce, identifying it by its ID. This activity only functions inside a **Salesforce Application Scope** activity.

## Properties

### Common

* **DisplayName** - The display name of the activity.

### Input

* **FileName** - The name you want to use for the downloaded file. If this property field is empty, the original filename from Salesforce is used. The extension of the file is not changed. This field supports only strings and `String` variables.
* **FolderName** - The full path to the folder on the local machine where you want to download the file. This field can also be configured from the **Configure** wizard of the activity by browsing for the file on the local machine. This field supports only strings and `String` variables.
* **Id** - The ID of the file that you want to download. This field supports only strings and `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **Description** - The description of the file from Salesforce. This field supports only strings and `String` variables.
* **SalesforceStatus** - The status that is returned from Salesforce once the action is completed, stored in a `SalesforceStatus` variable. This field supports only `SalesforceStatus` variables.
* **Title** - The title of the file downloaded from Salesforce. This field supports only strings and `String` variables.
