Previous Next
Opalis Integration Server > Foundation Objects > File Management > Move File

Move File
The Move File object moves a file from one directory to another. You can also move files to network shares that are available using UNC paths.
Note: This object replaces the Move File Legacy object. For more information, see the Legacy topic.
How it is used
Use the Move File object to move files from a local or network folder made publicly available, such as an FTP location, to an internal folder.
Configuration
To configure the Move File object you need to know which files you are moving and the destination path where the files will be moved to.
Details Tab
 
File
Type the path and name of the file that you want to move. You can use the '*' and '?' wildcards to specify the filename and path. These wildcards behave the same way as in the Windows Command Prompt.
Include sub-folders
Select this option to move 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 moved 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 this option to append a value to the filename to create a unique name that does not conflict with an existing name.
Overwrite - Select this option to overwrite the existing file with the file that is being moved.
Fail - Select this option to cause the Move File object to fail if the filename already exists.
Advanced Tab
 
Age
Specify is less than or is more than to move 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 moved from.
Destination folder
The destination folder where the file was moved 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 moved.
Number of failed file operations
The number of files that failed to move.
File operation status
Determines whether the move operation succeeded or failed.
File path
The path of the file that was moved.
File name
The name of the file that was moved.
Name and path of the file relative to the origin folder
The relative path of the file starting from the origin folder.
If destination exists
The option that was selected to handle the operation if the destination file already exists.
File age date option
The option that was selected to evaluate the file age.
File age days
The number of days that was provided to evaluate the file age.
Modified date option
The option that was selected for the date to be assigned to the destination file.
Name and path of the destination file
The name and path that the file was moved to.
Name and path of the origin file
The name and path that the file was moved from.
Include sub-folders
Indicates whether the Include sub-folders check box was checked or not.
Common Published Data

Previous Next