Otter SDK Reference
Version:

FileCopyBatchAsync(string sourceDirName, string[] sourceFileNames, string destDirName, string[] destFileNames, bool overwrite, bool createDirectory) Method

Performs a local copy on a batch of files.

Syntax

public abstract System.Threading.Tasks.Task FileCopyBatchAsync(string sourceDirName, string[] sourceFileNames, string destDirName, string[] destFileNames, bool overwrite, bool createDirectory)

Parameters

sourceDirName
Type: string

Directory to copy files from.

sourceFileNames
Type: string[]

Files in the directory to copy.

destDirName
Type: string

Directory to copy files to.

destFileNames
Type: string[]

Names of the copied files in the new directory.

overwrite
Type: bool

Value indicating whether files should be overwritten.

createDirectory
Type: bool

Value indicating whether the target directory should be created if it doesn't exist.