Skip to main content

Download File

Download a file from an One Drive to local disc.

Category: Microsoft Office 365 & OneDrive · Group: Office 365 · Activity name: MicrosoftDownloadFile

The MicrosoftDownloadFile activity in the designer

Example

outputVariable = MicrosoftDownloadFile("<filePath>", targetPath="<targetPath>")

Inputs

NameTypeRequiredDefaultDescription
File PathstringYesPath to file in OneDrive like 'MyDir/file.pdf'
Target PathstringPath to folder on the disc where to save the file

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the path to the downloaded file.