Skip to main content

Download File

Downloads a file from a specified location

Category: API & HTTP Communication · Group: General · Activity name: DownloadFile

The DownloadFile activity in the designer

Example

outputVariable = DownloadFile("<url>", extraHeaders={}, outputPath="<outputPath>")

Inputs

NameTypeRequiredDefaultDescription
URIstringYesURI of the file to download
Request HeadersobjectDefine extra headers to be added to the request
Download PathstringPath where the file is downloaded. The path must also contain the desired file name and appropiate extension.

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that stores the file path