2.2.1. FTP Connector

The FTP connector supports moving data between an FTP server and other supported Sqoop2 connectors.

Currently only the TO direction is supported to write records to an FTP server. A FROM connector is pending (SQOOP-2127).

2.2.1.1. Usage

To use the FTP Connector, create a link for the connector and a job that uses the link.

2.2.1.1.2. TO Job Configuration

Inputs associated with the Job configuration for the TO direction include:

Input Type Description Example
Output directory String The location on the FTP server that the connector will write files to. Required uploads

2.2.1.1.2.1. Notes

  1. The output directory value needs to be an existing directory on the FTP server.

2.2.1.2. Loader

During the loading phase, the connector will create uniquely named files in the output directory for each partition of data received from the FROM connector.