The eiConsole and eiPlatform support a wide variety of FTP protocols. These include Regular FTP, FTP over SSL (Explicit), FTP over SSL (Implicit), Encrypted FTP (SSH/SFTP), Encrypted FTP (JSCHSSH/SFTP). To configure an FTP / SFTP Transport, select FTP / SFTP from the Transport Type drop-down.
First of all, on the Basic tab select FTP type. It can be Regular FTP, FTP over SSL (Explicit), FTP over SSL (Implicit) or Encrypted FTP (SSH/SFTP). Then enter in the Hostname – the name of the FTP server that you wish to connect to. Then you can change the Port to be used to connect to the FTP server. This defaults to the FTP default of 21. The Target directory configuration item is used to specify the remote directory where you will place the file. The Target file name configuration item is used to specify the name of the file that you placed on the remote FTP server. The Target file extension configuration item will contain the extension that you want to place on that Target file name. The FTP Transport will ensure that all files placed on the server are unique. In those cases where a file with a given file name and extension already exists, a number will be added to the Target file name to make it unique. If Specify full file path is enabled, a full file path may be specified to write a particular file. At Path To File you can set the path of the file, including file name and extension, to be written.
On the Advanced tab, The Timeout may also be specified. This is the Timeout that will be used when transferring a file or attempting to make a connection to the FTP. The Retry Connection: if selected, the Listener will attempt to make the connection twice, with a delay between the attempts, if the first connection attempt fails. The Retry Delay: the length of time to wait after a failed connection before attempting to retry. Set to -1 for no delay. If the value is set with enhanced properties, the units are seconds. The Keep connection configuration item can be checked if you wish to keep the FTP connection alive in between invocations of this Transport. The Append to File allows contents to be written to the end of an existing file. The Overwrite Existing – if enabled, an existing file will be overwritten. The Passive Mode is used to specify if local passive (or active) mode should be used. You can set the Check for File option. This configuration item causes the client to query the server to ensure the file has been written, and throw an exception if it can’t be found. File Type is used to specify the type of transfer to use. It can be Binary or Text. The Socket Timeout is SFTP socket connection timeout. “zero” is to disable (default).
The Data Channel Protection Level is used to specify a security mode. It is for FTP over SSL only. It can be Private, Clear, Safe, Confidential and Not Specified.
On the Credentials tab, you will configure the User name and Password used to connect to the FTP server. Enter the User name in the User name configuration item and the password in the Password configuration item. The Use key file is used to specify whether or not to use a key file to authenticate with. It is for Encrypted FTP mode only.
On the Certificates tab you can specify:
Use Key Store checkbox: use a KeyStore to provide client certificates for 2-way SSL.
Key Store: The file path for the KeyStore with a single client keypair in it.
Key Store type: The format of the KeyStore – recommended is JKS.
Key Store password: The KeyStore password.
Use TrustStore checkbox: use a TrueStore to validate the server’s certificate.
Trust Store: File path for the TrueStore with the server’s public key in it.
Trust Store Type: The format of the TrueStore – recommended is JKS.
Trust Store Password: The TrueStore password.