Preparing FTP service connection information
Prepare connection information for an FTP server.
The following values will be used in the 'Creating connection resource' section below:
-Host name
-Port number
-User name
-Password
-Data transmission mode
-Encoding
Creating connection resource
To use the FTP Connector in HULFT Square, you need to create a connection resource first.
1. In HULFT Square, go to [Main] > [DATA INTEGRATION] > [Connections] and click [Add New].
2. In the Type section, select [FTP] for Connector and [FTP connection] for Type, then click [Next].
3. In the General section, set the name of the connection resource, workspace (optional), and description (optional), then click "Next."
4. In the Settings section, set the parameter values required for the connection.
To verify the connection with the entered values, click [Verify Connection].
Item name | Description | Required | Remarks |
Host name | Enter the destination FTP server. |
○ |
|
Port number | Enter the port number where the FTP service is provided. | ○ |
|
User name |
Select or enter a user name to login to the FTP server. Specify either “anonymous” or “ftp”, in the case of anonymous FTP. |
○ | |
Password |
Enter the password to login to the FTP server. Specify an email address, in the case of anonymous FTP. |
||
Data transmission mode |
Select data transmission mode.
|
○ | |
Encoding |
Select or enter the encoding for FTP server. When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. |
○ |
|
Connection timeout | Enter the connection timeout period in milliseconds. |
|
|
Security type |
Select security type when performing secure FTP connection.
|
○ | |
Private key |
To connect by public key authentication, enter the file path of private key. You can click [Browse] button to launch the file chooser and find the file. |
|
|
Private key passphrase | Enter the private key pass phrase. |
|
|
Use the HTTP proxy server |
Select whether or not to use the HTTP proxy server.
|
|
|
HTTP proxy host | Enter the HTTP proxy server's host address. |
|
|
HTTP proxy port | Enter the HTTP proxy server's port number. |
|
|
SSL/TLS connection type |
Select connection method when performing SSL/TLS connection.
|
|
|
Security mechanism |
Select security mechanism used in AUTH command when connecting in explicit mode.
|
|
|
Client certificate | To connect by client certificate authentication, enter the file path of client certificate (PEM format). You can click [Browse] button to launch the file chooser and find the file. |
|
|
Certificate passphrase | Enter the client certificate passphrase. |
|
|
Do not check server certificate |
Select whether or not to check validity of server certificate.
|
|
5. When Verify connection dialog box opens, set [Integrate service] and [Profile to load resources] and click "OK".
Verification test result will appear on dialog box.
6. If there are no problems, click "Finish" to complete connection resource settings.
Now you have a FTP connection resource.
Setting up Connector
Here is an example of using the FTP Connector on a script using the connection resource added above.
Example: Setting up FTP Connector [Get List and Data] operation
Drag and drop [Network] > [FTP] > [Get List and Data] onto the script canvas to open the properties dialog.
The setting values for each item in the required settings tab are as follows:
-Destination: Select the FTP connection resource name created in the Creating a Connection resource section.
-Path/Remote path: Enter the file/directory in the FTP server with an absolute path starting with “/”.
Comments
0 comments
Article is closed for comments.