UploadFolder: Upload a whole folder

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

image2023-7-28_17-16-41.png image2023-7-28_17-17-15.png

Example Script

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