Hitachi Vantara Pentaho Community Wiki
Skip to end of metadata
Go to start of metadata

Description

This step copies, moves or deletes files by giving the source and target file names in the data stream.

Options

Option

Description

Step name

Name of the step; this name has to be unique in a single transformation

Operation

This defines the operation: Copy, Move or Delete

Create target parent folder

When this option is checked, the target parent folder is created.
Otherwise it throws an exception when the target parent folder is not existing.

Overwrite target file

When this option is checked and the target file exists, it will be overwritten.
Otherwise it will not be overwritten and silently ignored.

Add target filename to result

When this option is checked, add the copied, moved or deleted files to the list of result files.

Set simulation mode

For testing purposes: No action will be taken at the end and no file will be copied, moved or deleted.

Source filename field

This defined the field that contains the complete path to the source file for copy or move or the file to be deleted.

Target filename field

This defined the field that contains the complete path to the target file. This field must not be given in the Delete mode.

Note: This must be a file and NOT a folder.

  • No labels

1 Comment

  1. It would be good to have more control over error handling. E.g. I need to move a file if it exists, but I don't care if it doesn't exist. Currently this step throws an error if it can't find the source file.