Skip to main content

Upload File

Upload a file from an One Drive to local disc.

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

The MicrosoftUploadFile activity in the designer

Example

outputVariable = MicrosoftUploadFile("<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 metadata of the uploaded file.