Introduction
On many occasions, the development of Kettle jobs and transformations involves manipulation of files, such as reading or writing a file along with other manipulations. Look at this sample scenario, where you have to:
Get a file with orders from a remote server
Validate and load the orders into a database
Move the processed file to a designated folder
If a file with that name already exists, rename the older version
If the orders in the file are not valid, generate a log file with details of the errors and put that log file back on to the server for further review
In this situation besides reading and writing files, you also have to transfer, rename, and move them.
Copying, moving, deleting, and transferring files, list of files or directories are tasks not only needed for these situations, but in everyday life. It's common to have lot of files, which need to be organized in several ways, and for different purposes.
Kettle has a rich set of steps and job entries for doing this. However...