The Move File action moves a file to another folder. For example, after a report is uploaded it needs to be moved into a shared directory where others can view the report.
You can change the following settings:
Source File
The full path of a file that will be moved to a new location. Click the
icon to browse for a file or specify the event variable ${event.physicalPath} to refer to the file that is associated with the current event.
Destination Directory
This is the location of a directory to where the file will be moved. If the directory does not exist it will be created automatically. Click the
icon to browse for a folder.
When File Exists
This is the location of a directory to where the file will be moved. If the directory does not exist it will be created automatically. Click the
icon to browse for a folder.
Arguments
If a file with the same name already exists in the Destination Directory, the options are to Overwrite the existing file, Rename the file that is moving by appending a number to the end of the file name, Stop the file move action or produce an Error.
When available, the
icon provides a drop-down list of pre-defined
Event Variables.