O'Reilly logo

Pentaho Data Integration 4 Cookbook by María Carina Roldán, Adrián Sergio Pulvirenti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting files from a remote server

When you need to copy files from or to remote machines, you can use the standard network protocol File Transfer Protocol (FTP) built on client-server architecture.

Kettle provides the Get a file with FTP job entry to get files from an FTP server. In the example, you will connect to a remote directory named remoteDir on an FTP server and copy some text files from that server to a local folder named destinationDir.

Getting ready

You need access to an FTP server.

How to do it...

Carry out the following steps:

  1. Create a new job and drop a Start entry into the canvas.
  2. Add a Get a file with FTP job entry from the File transfer category.
  3. Under the General tab, type the server name or its IP address in the FTP server name / ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required