Operation: Copy
The Copy operation copies the file or folder defined in the path parameter to the local folder defined in the targetPath parameter.
Examples
Copy folder
The following example shows a sample parameterization of the adapter for the Copy operation to copy the MyFolder folder to the X4 directory:
Parameters | Value |
|---|---|
path | C:\MyFolder |
targetPath | C:\X4\MyFolder |
Copy file
The following example shows a sample parameterization of the adapter for the Copy operation to copy the MyFile.xml file to the X4 directory:
Parameters | Value |
|---|---|
path | C:\MyFolder\MyFile.xml |
targetPath | C:\X4\MyFolder\MyFile.xml |