Chapter 5. File Management

In this chapter, we will cover the following topics:

  • Copying or moving one or more files
  • Deleting one or more files
  • Getting files from a remote server
  • Putting files on a remote server
  • Copying or moving a custom list of files
  • Deleting a custom list of files
  • Comparing files and folders
  • Working with ZIP files
  • Encrypting and decrypting files

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 the following 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
  • Rename the older version if ...

Get Pentaho Data Integration Cookbook Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.