Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Pentaho Data Integration Cookbook - Second Edition - Second Edition

You're reading from  Pentaho Data Integration Cookbook - Second Edition - Second Edition

Product type Book
Published in Dec 2013
Publisher Packt
ISBN-13 9781783280674
Pages 462 pages
Edition 2nd Edition
Languages

Table of Contents (21) Chapters

Pentaho Data Integration Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Working with Databases Reading and Writing Files Working with Big Data and Cloud Sources Manipulating XML Structures File Management Looking for Data Understanding and Optimizing Data Flows Executing and Re-using Jobs and Transformations Integrating Kettle and the Pentaho Suite Getting the Most Out of Kettle Utilizing Visualization Tools in Kettle Data Analytics Data Structures References Index

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.

How to do it...

You need access to an FTP server to be able to continue with this recipe.

Perform 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 / IP address textbox.

  4. Type the port number in the Server port textbox. Usually, it is port 21.

  5. In the Username and Password textboxes, type the credentials to log in to the FTP server.

    Tip

    You can verify the connection information...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}