UiPath Documentation
activities
latest
false
Classic Integrations activities

Download File

Activity for downloading a file to specified folder in Box

UiPath.Box.Activities.File.DownloadFile

The Download File activity uses the Box Download file API to download a file (File Id and Version) to specified folder (Local file path). You have the option overwrite an existing file that has the same name (Overwrite).

How it works​

The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Box Scope activity to your project.
  3. Add an activity or run an external process that outputs a File.Id value (e.g., Upload File, Search for Content, etc.).
  4. Add the Download File activity inside the Box Scope activity.
  5. Enter values for the Input properties.
    • Your input property values are sent in the Download file API operation request.

Properties​

Common​

  • ContinueOnError - Specifies if you want the activity to continue running when an error is thrown. This field supports only Boolean values.
  • DisplayName - The display name of the activity. This field supports only Strings or String variables.

Input​

  • File ID - The ID of the file. This field supports only Strings or String variables. To get the File ID value, add an activity or run an external process that outputs a File.Id object (e.g., Upload File, Search for Content, etc.).
  • Local file path - The location where you want to download the file. This field supports only Strings or String variables. This is a folder location. The file downloaded will use the name of the file as the file name locally.

Misc​

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

Options​

  • Overwrite - If Selected, the activity overwrites an existing file with the same name. If Not Selected, the activity throws an exception if a file with the same name exists in the specified Local file path.
  • Version - The specific version of the file that you want to download. This field supports only Strings or String variables. If there is a specific version of a file that you want to download, use this property to specify the file version ID.
  • How it works​
  • Properties​
  • Common​
  • Input​
  • Misc​
  • Options​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated