UploadFolder: Upload a whole folder
Tag: UploadFolder
The UploadFolder function automates the process of Uploading Folder to OneDrive/sites/channels Files.
<UploadFolder FilePath="F:\XML\SHARK-2228" Mode="All-" IfFolderExists="Rename" IfFileExists="Rename" KeepAlive="false"/>
Tag Attributes
| Attributes | Attributes Value | Value Description |
|---|---|---|
| KeepAlive | TRUE / FALSE | N/A |
| FilePath | Upload target folder path / defaults to Documents | |
| IfFileExsists | Rename, Replace | |
| IfFolderExists | Rename, Merge | |
| Mode | All, ContentsOnly |
Upload Script


Example Script
<SelectedShowDriveItemsGroups>
<Select Lines="All"/>
<UploadFolder FilePath="F:\XML\SHARK-2228" Mode="All" IfFolderExists="Rename" IfFileExists="Rename" KeepAlive="false"/>
</SelectedShowDriveItemsGroups>