An FTP connection allows you to read data from and write data to FTP by using FTP Reader and Writer. You can configure sync nodes for FTP by using the codeless user interface (UI) or code editor.
- Log on to the DataWorks console as a workspace administrator, find the target workspace, and then click Data Integration in the Actions column.
- In the left-side navigation pane, click Connection to go to the page.
- On the Data Source page that appears, click Add Connection in the upper-right corner.
- In the Add Connection dialog box that appears, click FTP in the Semi-structured storage section.
- In the Add FTP Connection dialog box that appears, set the parameters.
Parameter Description Connection Name The name of the connection. The name can contain letters, digits, and underscores (_) and must start with a letter. Description The description of the connection. The description cannot exceed 80 characters in length. Applicable Environment The environment in which the connection is used. Valid values: Development and Production.Note This parameter is available only when the workspace is in standard mode. Protocol The protocol used by the FTP server. Currently, only FTP and Secure File Transfer Protocol (SFTP) are supported. Host The address of the FTP server. Port The port of the FTP server. This parameter defaults to 21 if you select FTP as the adopted protocol, and defaults to 22 if you select SFTP. Username The username for logging on the FTP server. Password The password for logging on the FTP server.
- Click Test Connection.
- After the connectivity test is passed, click Complete.
Note on connectivity testing
- If the data store is a user-created one deployed on Elastic Compute Service (ECS) instances that reside on a classic network, we recommend that you use a custom resource group to run sync nodes that use the connection. The default resource group does not guarantee that it can connect to the data store over the network.
- If the data store is deployed in a Virtual Private Cloud (VPC), the connectivity test is not supported. You can click Complete without testing the connectivity.
What to do next
Now you have learned how to configure an FTP connection. You can proceed with the next tutorial. In the next tutorial, you will learn how to configure FTP Reader and Writer.