[Teams] Copy/Move from Remote

Q100080: [Teams] Copy/Move from Remote

Copies/moves files from a Teams account's files folder.

Parameter In/Out Description Other Info
Teams account In Account connection information for a 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 [Teams] Find Files module.
Channel InOut The teams channel to copy/move the file(s) from.
Destination folder InOut The local or network folder to copy or move the file(s) to.
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 from Remote module allows you to copy or move files located on the remote Teams channel, to a location on the servers local filesystem or connected domain network. 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 files that the module should retrieve. Or the more fleible option is this is linked to the output file list from a [Teams] Find Files module in a previous step.

The Channel parameter should be set to the name of the channel, whose files you are attempting to retrieve.

The Destination folder parameter should be set to a local path for the JobServer machine.

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 [Teams] Find Files 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, then are removed from the source once a successful copy is made on the destination (move).

 
Last Updated:
10/3/2023 1:07:16 AM
JobServer.NET Knowledgebase © 2025