If you need to connect to an FTP server regularly, you can centralize the connection information under the Metadata node in the Repository view.
Defining the general properties
To create a connection to an FTP server, follow the steps below:
Expand the Metadata node in the Repository tree view.
Right-click FTP and select Create FTP from the context menu.
The connection wizard opens:
Enter the generic schema information such as its Name and Description.
The status field is a customized field which can be defined in the [Preferences] dialog box (Window > Preferences). For further information about setting preferences, see Setting Talend Studio preferences.
When you have finished, click Next to enter the FTP server connection information.
Connecting to an FTP server
In this step we shall define the connection information and parameters.
Enter your Username and Password in the corresponding fields.
In the Host field, enter the name of your FTP server host.
Enter the Port number in the corresponding field.
Select the Encoding type from the list.
From the Connection Model list, select the connection model you want to use:
Select Passive if you want the FTP server to choose the port connection to be used for data transfer.
Select Active if you want to choose the port yourself.
In the Parameter area, select a setting for FTP server usage. For standard usage, there is no need to select an option.
Select the SFTP Support check box to use the SSH security protocol to protect server communications.
An Authentication method appears. Select Public key or Password according to what you use.
Select the FTPs Support check box to protect server communication with the SSL security protocol.
Select the Use Socks Proxy check box if you want to use this option, then enter the proxy information (the host name, port number, username and password).
Click Finish to close the wizard.
All of the connections created appear under the FTP server connection node, in the Repository view.
You can drop the connection metadata from the Repository onto the design workspace. A dialog box opens in which you can choose the component to be used in your Job.
For further information about how to drop metadata onto the workspace, see How to use centralized metadata in a Job.