Copy Data Source File

Copy a file within a data source to another path in that data source or to another data source. Directories are copied recursively.

Syntax

copy data source <from data source reference> file "<from file>" [at path "<from path>"] to [data source <to data source reference>] file "<to file>" [at path "<to path>"]

Parameters

from data source reference

String. Name of the data source to copy the file from.

from file

String. The source file to copy.

from path

String. If present, prefix the source file path with the given path.

to data source reference

String. Name of the data source to copy the file to. Default: copy the file within the same data source.

to file

String. The destination file path to copy the file to.

to path

String. If present, prefix the destination file path with the given path.


Was this article helpful?
0 out of 0 found this helpful