Previous Next
Opalis Integration Server > Foundation Objects > Legacy > Copy File

Copy File
The Copy File object will copy a file from one directory to another. You can also copy files to network shares that are available via UNC paths.
Note: This object has been replaced by the updated Copy File object. Please remove this object from your Policies and replace it with the new one as soon as possible.
How it is used
The Copy File object can be used to copy important files that have been created or modified in a folder that is being monitor by the Monitor Folder object to a backup location.
Configuration
When configuring the Copy File object you need to know what files you are copying and the destination of the copied files.
Details Tab
 
File
Type the path and name of the file that you want to copy. You can use the '*' and '?' wildcards to specify the filename. These wildcards behave in the same way as the Windows Command Prompt.
Include sub-folders
Select to copy any files within the sub-folders of the path you have specified that match the filename that you have specified.
Folder
Type the path of the folder where you want the files to be copied to.
If the destination exists
Select the action that you want to take if a file with the same name already exists in the destination folder:
Create a file with a unique name - Select to append a value to the filename to create a unique name that does not conflict with an existing name.
Overwrite - Select to overwrite the existing file with the file that is being copied.
Fail - Select to cause the Copy File object to fail if the filename already exists.
Advanced Tab
 
Age
Specify is less than or is greater than to copy the files that are older or newer, respectively, than the number of days that you specify.
Date of transfer
Set the date of the file at the destination to the date when it was copied to the folder.
Same as original
Set the date of the file at the destination to the date of the original file.
Available Published Data
 
Name
Description
Origin folder
The path of the base folder where the file was copied from.
Destination folder
The destination folder where the file was copied to.
Total number of files to be transferred
The number of files that matched the File that you specified.
Number of successful file operations
The number of files that were successfully copied.
Number of failed file operations
The number of files that failed to copy.
For each file
File operation status
Determines whether the copy succeeded or failed.
Name and path of the file
The path of the file that was copied.
File name
The name of the file that was copied.
Name and path of the file relative to the origin folder
The relative path of the file starting from the Origin folder.
Common Published Data

Previous Next