| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not available | Specify the global resource name for FTP Adapter. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Host name | Required | Only environment variables are available | Enter the destination FTP server. | |
| Port number | Required | Only environment variables are available | Enter the port number where the FTP service is provided. |
|
| User name | Required | Only environment variables are available | Select or enter a user name to login to the FTP server.
Specify either “anonymous” or “ftp”, in the case of anonymous FTP. |
|
| Password | Optional | Only environment variables are available | Enter the password to login to the FTP server.
Specify an email address, in the case of anonymous FTP. |
|
| Data transmission mode | Required | Not available | Select data transmission mode.
|
|
| Encoding | Required | Only environment variables are available | Select or enter the encoding for FTP server.
When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. For more details, refer to “Supported Encodings” (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html).
|
|
| Connection timeout | Optional | Only environment variables are available | Enter the connection timeout period in milliseconds. |
|
| Item name | Description | Remarks |
|---|---|---|
| Connection test | Check the connection to the host. |
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Security type | Required | Not available | Select security type when performing secure FTP connection.
|
|
| Private key | Optional | Only environment variables are available | 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 | Optional | Not available | Enter the private key pass phrase. |
|
| SSL/TLS connection type | Optional | Not available | Select connection method when performing SSL/TLS connection.
|
|
| Security mechanism | Optional | Not available | Select security mechanism used in AUTH command when connecting in explicit mode.
|
|
| Client certificate | Optional | Only environment variables are available | 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 | Optional | Not available | Enter the client certificate passphrase. |
|
| Do not check server certificate | Optional | Not available | Select whether or not to check validity of server certificate.
|
|
| Exception name | Cause | Solution |
|---|---|---|
| InvalidPropertyConfigurationException <Property Name> is not entered. |
[<Property name>] is not entered. | Enter [<Property name>]. |
| java.io.UnsupportedEncodingException <encoding> |
Unsupported encoding is entered in [Encoding]. | Select or enter an encoding supported in Java SE Runtime Environment 8.
For more details, refer to “Supported Encodings” (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html). |
| java.net.UnknownHostException The host ”<host name>” is not found. |
Unable to connect to [Host name]. | Check the settings. |
| InvalidPrivateKeyException Private key file or private key pass phrase is invalid. |
Either the format of the specified [Private key] or the entered [Private key passphrase] is invalid. | Check whether the [Private key] file of valid format is specified and [Private key passphrase] is valid. |
| InvalidCertificateException Failed to load the client certificate. Check the file format or the passphrase. |
Either the format of specified [Client certificate] or the entered [Certificate passphrase] is invalid. | Check whether the [Client certificate] file with valid format (PEM format) is specified and [Certificate passphrase] is valid. |
| com.enterprisedt.net.puretls.SSLCaughtAlertException Expired certificate at handshake state SSL_HT_FINISHED or SSL_HS_WAIT_FOR_CHANGE_CIPHER_SPECS |
The client certificate has expired. | Specify a client certificate that is still valid. |
| javax.net.ssl.SSLHandshakeException The authenticity of server certificate cannot be verified. |
This error occurs when performing [FTP over SSL/TLS] connection and [Do not check server certificate] is [Not checked].
The cause is that authenticity of the server certificate could not be verified, because the server certificate registered in Java does not match with the one to perform SSL/TLS connection. |
Check whether the server certificate to perform SSL/TLS connection is registered in Java. When registered, check whether the destination server is same as the one registered in Java and the server certificate of destination is not expired. |
| com.enterprisedt.net.puretls.SSLPrematureCloseException Short read |
Occurs when failed to connect with [FTP over SSL/TLS]. | Check whether the server connectivity information such as [SSL/TLS connection type] is configured correctly. |