UiPath - Download File from URL

uipath-download-image-from-url
UiPath - Download Image/File from URL

When we know about the URL of the file (image, pdf, doc etc) that needs to be downloaded, we can directly download file from URL without interacting with UI.

We will use here UiPath Web Activity "HTTP Request" in order to directly download file from URL.

Let's understand with example

Input variables required:

fileURLEndPoint – the URL of the file, needs to be download from URL

uipath-download-file-from-url-assign-file-url-endpoint
Assign - fileURLEndPoint

filePath – the file path, where we would save the downloaded file.

uipath-download-file-from-url-assign-filepath
Assign - filePath

Configure the "HTTP Request" activity:

Now configure the "HTTP Request" activity on providing required values into activity properties named "EndPoint" and "ResourcePath" as shown below:

uipath-http-request-download-file-assign-http-request-activity-property-endpoint
Assign - HTTP Request Property - EndPoint

uipath-http-request-download-file-assign-http-request-activity-property-resourcepath
Assign - HTTP Request Property - ResourcePath

Now we just need to execute our workflow 😎 and see the magic. 🙌
🙏

Comments

Post a Comment

Popular posts from this blog

UiPath - Convert String to DateTime

Filter DataTable in UiPath Studio

UiPath - Kill Process for Current User