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

Rename File
The Rename File object will rename files on the local file system or a network location specified via UNC path.
Note: This object has been replaced by the updated Rename 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 Rename File object can be used to automatically rename files to a standard format that is specified by data center procedures.
Configuration
When configuring the Rename File object you need to know the file that you are renaming and the name that you are changing it to.
Rename - Details Tab
 
Folder
Type the path of the folder that contains the files that you want to rename
Include sub-folders
Select to rename any files within the sub-folders of the Folder you have specified that match the filenames that you have specified.
Destination
The list shows all the filenames that will be renamed when this object is executed. To add a filename, click Add and specify the Old name and New name of the file. You can edit or remove a value by selecting it and clicking Edit or Remove respectively.
Rename - Advanced Tab
 
Age
Specify is less than or is greater than to rename the files that are older or newer, respectively, than the number of days that you specify.
Date of rename
Set the date of the file at the destination to the date when it was renamed.
Same as original
Set the date of the file at the destination to the date of the original file.
Destination already exists
Select the action that you want to take if a file with the same name already exists in the 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 renamed.
Fail - Select to cause the Rename File object to fail if the filename already exists.
Available Published Data
 
Name
Description
Origin folder
The path of the base folder where the file was renamed.
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 renamed.
Number of failed file operations
The number of files that failed to rename.
For each file
File operation status
Determines whether the rename succeeded or failed.
Name and path of the file
The path of the file that was renamed.
File name
The name of the file that was renamed.
Name and path of the file relative to the origin folder
The relative path of the file starting from the base folder.
Common Published Data

Previous Next