Skip to content

Download File Activity

The Download File activity enables the retrieval of files directly from a specified URL in scenarios where a dedicated download button is absent on a web page. This activity facilitates automated file acquisition by targeting the direct link address found within the HTML source code.

Field Description Requirement
Application Name The reference name of the application instance that is currently open or attached. Required
Url The direct link address of the file to be downloaded, typically located within the HTML source. Required
Directory The local or network file path where the downloaded file will be stored. Required
File Name The designated name, including the extension, for the file once it is saved. Required

Action Types & Examples

URL Specification

  • Format: String (URL)
  • Example Result: "https://s0.shbdn.com/projeler/media/photos/Project/2017/05.png"

Destination Mapping

  • Format: String (Path)
  • Example Result: "C:\Temp\DownloadedFiles\test.jpeg"

Implementation Examples

Field Setup - Application Name: ${robustaWebpage} - Url: https://s0.shbdn.com/projeler/media/photos/Project/2017/05.png

Execution Parameters - Directory: C:\Temp\DownloadedFiles - File Name: test.jpeg

Technical Notes

This activity is designed to bypass the need for UI-based interactions by communicating directly with the file host via the provided URL. Ensure the target directory exists and the robot has the necessary write permissions for the specified path before execution.