Tag: UploadFolder
The UploadFolder function automates the process of Uploading Folder to OneDrive/sites/channels Files.
XML
<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
XML
<SelectedShowDriveItemsGroups>
<Select Lines="All"/>
<UploadFolder FilePath="F:\XML\SHARK-2228" Mode="All" IfFolderExists="Rename" IfFileExists="Rename" KeepAlive="false"/>
</SelectedShowDriveItemsGroups>