[Teams] Copy/Move to Remote
Q100081: [Teams] Copy/Move to Remote
Copies/moves files to a Teams account's files folder.
Parameter | In/Out | Description | Other Info |
---|---|---|---|
Teams account | In | Account connection information for Teams member account | Connection type: sysLogin |
Url | In | Url of the Teams site to access. | |
File source | InOut | One or more pathnames (files) to copy/move. Typically generated by output from the FileList output parameter of the [Files] Find module. |
|
Channel | InOut | The teams channel to copy/move the file(s) to. | |
Destination folder | InOut | The target folder in the Teams Channel to copy/move files to. If blank, copies to top level of channel. Otherwise specify the folder, or subfolder path. Ex: "Images" or "Images/Vacation" | |
Replicate subfolders? | In | Option to determine if subfolder structure from source should be replicated. | Default: False |
Copy or Move? | In | Choices: Copy , Move COPY files or MOVE (copy, then delete source) files(s)? |
Default: Copy |
Log output level | In | Choices: Minimal , Verbose The level of execution detail you want to appear in the log. |
Default: Minimal |
Processed file list | Out | List of pathnames (files) that were copied or moved. |
(Italics = required parameters)
Notes
The [Teams] Copy/Move to Remote
module allows you to copy or move files located on the servers local filesystem or connected domain network, to the specified remote channel on the Microsoft Teams account. The first two parameters, Login information
and Url
are the same as the other Teams base file modules. They are explained in detail in the [Teams] Find Files
module. If you have not already familiarized yourself with the proper settings for these parameters, please refer to the KB Article Q100079 for specific details.
The File Source
parameter, can be a static list of one or more local files that the module should upload to the Teams channel. Or the more fleible option is this parameter is linked to the output file list from a [Files] Find
module in a previous step.
The Channel
parameter should be set to the name of the channel, where you are attempting to send the files to.
The Destination folder
parameter is an optional value. When not specified, the files are copied to the root of the channel. If specified, then the files are copied to a folder or path with that name in the channel.
The Replicate Subfolders
parameter will attempt to re-create the path hierarchy of files in a set of nested subfolders when the value passed is a valid FileList
such as is used in combination with the [Files] Find
module.
The Copy or Move
parameter will control if the files from the source are just replicated from the source to the destination (copy). Or if the files are first replicated from the source to the destination, and then are removed from the source once a successful copy is made on the destination (move).