Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Description

You can use the FTP job entry to get one or more files from an FTP server.

Options

Option

Description

Job entry name

The name of the job entry. This name has to be unique in a single job. A job entry can be placed several times on the canvas, however it will be the same job entry.

Library

Apache Commons Net (supports Proxy settings, available since version 5.1)
edtFTPj (Deprecated)

FTP server name

The name of the server or the IP address

User name

The user name to log into the FTP server

Password

The password to log into the FTP server

Remote directory

The remote directory on the FTP server from which we get the files

Target directory

The directory on the machine on which Kettle runs in which you want to place the transferred files

Wildcard

Specify a regular expression here if you want to select multiple files. For example:

.*txt$ : get all text files
A.*[ENG:0-9].txt  : files tarting with A, ending with a number and .txt

Use binary mode?

Check this if the files must be transferred in binary mode. This is needed e.g. for zip files, otherwise some data could be changed when converting CR/LF depending on the operating system.

Timeout

The FTP (client socket) timeout in milliseconds.  Set it to 0 (or blank) for an infinite time-out.

Remove files after retrieval?

Remove the files on the FTP server, but only after all selected files have been successfully transferred.

Don't overwrite files

Skip a file when a file with identical name already exists in the target directory.

Use active FTP connection

Check this to use active mode FTP instead of the passive mode (default).

Control

The encoding to use for the ftp control

Encoding

instructions, the encoding matters e.g. for the ftp'ing of filenames when they contain special characters. For Western Europe and the USA "ISO-8859-1" should suffice. You can enter any encoding that is valid on your server.

Notes

Some FTP servers do not allow files to be FTP'ed when they contain certain characters (spaces for example). Therefore, when choosing filenames for files to be FTP'ed, be sure to check up front whether your particular FTP server is able to process your kind of filenames.

  • No labels