This section describes the configuration properties for the BatchFTP OTD accessed from the Environment Explorer tree.
The BatchFTP Environment Explorer properties include the following sections:
Connection Retry Settings (BatchFTP Environment)
Several of these configuration options allow you to use regular expressions. This advanced feature is useful but must be used carefully. An improperly formed regular expression can cause the creation of undesired data or even the loss of data. You must have a clear understanding of regular-expression syntax and construction before attempting to use this feature. It is recommended that you test such configurations thoroughly before moving them to production.
This section provides information for configuring the SOCKS properties (accessed from the Environment Explorer). The BatchFTP Adapter supports the negotiation methods, No-authentication and User/password. For more information on SOCKS, see SOCKS.
The SOCKS section of the BatchFTP Environment properties contains the top-level parameters displayed in this table.
Table 10 Environment - BatchFTP - SOCKS
The FTP section of the BatchFTP Environment properties contains the top-level parameters displayed in this table.
Table 11 Environment - BatchFTP - FTP
Name |
Description |
Required Value |
---|---|---|
Specifies the name of the external system that the adapter connects to. If the parameter SSH Tunneling Enabled under the SSH Tunneling configuration settings is set to Yes, the parameters Host Name and Server Port, under the FTP settings, are ignored. In this case, the FTP host name is determined by an SSH option, according to the following model: ssh -L ListenPort:FtpServerHost:FtpServerPort SSHServer In the previous example, the FTP feature communicates with the FTP server FtpServerHost:FtpServerPort using an existing SSH tunnel. See SSH Tunneling (BatchFTP Connectivity Map) for details. If the parameter Socks Enabled under the SOCKS configuration parameters is set to Yes, the host name under the FTP configuration could fail to resolve some names, for example, localhost or 127.0.0.1 correctly. Use real IP or machine names to represent the hosts. See SOCKS (BatchFTP Connectivity Map) for details. |
The host name. |
|
Specifies the port number to use on the FTP server when connecting to it. If the parameter SSH Tunneling Enabled under the SSH Tunneling configuration is set to Yes, the parameters Host Name and Server Port under the FTP configuration are ignored. In this case, the FTP server port number is determined by an SSH option, according to the following model: ssh -L ListenPort:FtpServerHost:FtpServerPort SSHServer In the previous example, the FTP feature communicates with the FTP server FtpServerHost:FtpServerPort using an existing SSH tunnel. See SSH Tunneling (BatchFTP Connectivity Map) for details. |
The server port number. |
|
Specifies the user name used to log onto the external system, when required. |
A user name that provides access to the external system. |
|
If a password is required to log on to an external system, enter the password that corresponds to the user name. The corresponding Java accessor methods are getPassword(), setPassword(), and setEncryptedPassword(). |
The password. |
|
User Defined Heuristics Configuration File |
Specifies the name and location of the user defined FTP heuristics configuration file. The format of the files content must be in the same form as that of the FTPHeuristics.cfg file. See To Create a Custom Heuristics Configuration File for more details. This property works in conjunction with the property Table 3 User Defined Directory Listing Style property Note – The BatchFTP OTD will generate an exception if a selected User Defined Directory Listing Style or the User Defined Heuristics Configuration File path is not defined correctly. If a User Defined Directory Listing Style is specified, a corresponding value must also be provided for the User Defined Heuristics Configuration File property. |
The location and name of the user defined FTP heuristics configuration file on the local host. |
The General Settings section of the BatchFTP Environment properties contains the top-level parameters displayed in this table.
Table 12 Environment - BatchFTP - General Settings
This section provides information for configuring the SSH Tunneling properties (accessed from the Environment Explorer). If Secure FTP (FTP over SSH or FTP over SSL) is required, use the Secure FTP OTDs (BatchFTPOverSSL, BatchSFTP, and BatchSCP). SSH Tunneling is supported for compatibility purposes.
The SSH Tunneling section of the BatchFTP Environment properties contains the top-level parameters displayed in this table.
Table 13 Environment - BatchFTP - SSH Tunneling
The Connection Pool Settings section of the BatchFTP Environment properties contains the top-level parameters displayed in this table.
Table 14 Environment - BatchFTP - Connection Pool Settings
Name |
Description |
Required Value |
---|---|---|
Steady pool size |
Specifies the minimum number of physical EIS connections that the pool keeps available at all times. |
An integer indicating the maximum number of connections available at all times. A value of 0 (zero) indicates that there are no physical connections in the pool and that new connections are created as needed. The configured default is 2. |
Maximum pool size |
Specifies the maximum number of physical EIS connections the pool contains. |
An integer indicating the maximum number of connections allowed. A value of 0 (zero) indicates that there is no maximum. The default value is 10. |
Max Idle Timeout In Second |
Specifies the maximum idle timeout (in seconds). This is a hint to the server. A timer thread periodically removes unused connections. This parameter defines the interval at which this thread runs. This thread removes unused connections after the specified idle time expires. It allows the user to specify the maximum amount of time that a connection can remain in the pool. . |
An integer indicating the maximum idle timeout in seconds. When this is set to a number greater than 0 (zero), the container removes or destroys any connections that are idle for the specified duration. A value of 0 specifies that idle connections can remain in the pool indefinitely. The configured default is 300 (5 minutes). |
The Connection Retry Settings section The Connection Pool Settings section of the BatchFTP Environment properties contains the top-level parameters displayed in this table.
Table 15 Environment - BatchFTP - Connection Retry Settings
Name |
Description |
Required Value |
---|---|---|
Connection Retries |
Specifies the number of retries to establish a connection upon failure to acquire a connection. |
An integer indicating the maximum number of retries to establish a connection upon failure to acquire a connection. The Configured default value is 0. |
Connection Retry Interval |
Specifies the length of time (in milliseconds) between each reattempt to access the destination file. This is used in conjunction with the Connection Retries setting. |
An integer indicating length of the pause (in milliseconds). The configured default value is 1000 (1 second). |