move
Full path: /system/filesystem/move
Moves or renames a file.
When invoked from a simple execution step, this function moves or renames one file at a time. To move or rename multiple files with FlowForce, enclose the step which calls the move function inside a "for-each" step, similar to how this is done in the Copy Files example.
Parameters
Name | Type | Description |
---|---|---|
Source | string as file | The path and file name of the source file that you want to move. |
Destination | string as file | The name of the destination directory. If you supply only the directory name in this field, the original file name will be retained. |
Overwrite target | boolean | Optional parameter. Set this parameter to true if you want to overwrite destination files with the same names. The default value is false. |
Abort on error | boolean | Optional parameter. This parameter determines the outcome of a job in which an error has occurred. If the Abort on error parameter is true, job execution will be terminated. If the Abort on error parameter is false, FlowForce Server will ignore errors and continue job execution. The default value is true. |
Working directory | string as directory | Specifies the working directory (for example, c:\somedirectory). If relative paths are used, they will be resolved against the working directory. |