In an Advanced Task, you can use the Delete/Rename Original element to either delete the source files, or rename the source files. If you select the Rename option, you can enter a file mask and/or macros to use when renaming the files.

Note: When using the Delete/Rename Originals element, we recommend that you first check that the transfer was successful, as the outcome is not tracked by an Advanced Task. You can add this type of check by adding an If Block and checking for a file error. If there are no file errors, then run the Delete/Rename.

When you add a Delete/Rename Originals element, you can select the following options:

  • Delete original(s) - Select this option to delete the source files.
  • Rename original(s) - Select this option and then enter a file name or file mask to use for the rename operation. You can use macros in the file mask. If you select the option to overwrite existing files, if a file of the same name already exists, it will be overwritten. If you do not select this option, and a file of the same name already exists, the original file will be maintained.