FTP Input Transporter Module Parameters

The FTP Input transporter reads binary data from files on an FTP server, wraps it up with ByteBuffer, and sends it to the next module that is configured in the adapter configuration file. Set values for this transporter in the adapter configuration file.

Parameter Description
Host

Type: string

(Required) Specify the server name or IP address of the FTP server to which you are connecting.

Port

Type: integer

(Required) Specify the port address for the FTP server to which you are connecting. The default value is 21.

LoginType

Type: enum

(Required) Specify the login type for the FTP server. There are two valid types: normal and anonymous.

User

Type: string

(Required if LoginType is set to normal) Specify the login account for the FTP server.

Password

Type: string

(Required if LoginType is set to normal) Specify the login password for the FTP server.

FtpFilePath

Type: string

(Required) Specify the absolute path to the data files in the FTP server.

FtpFileName

Type: string

(Required) Specify the filename of the data files in the FTP server.

MaxBlockSize

Type: int

(Required) Specify the max data block size to transfer from the FTP server. The default value is 2048.

TransferMode

Type: string

(Required) Specify the transfer mode for the FTP connection. There are two valid values: active or passive. The default value is active.

RetryPeriod

Type: second

(Required) Specify the period of time, in seconds, to try and reconnect to the FTP server if you disconnect unexpectedly. The default value is 30.

RetryCount

Type: integer

(Required) Specify the retry counts to try to reconnect to the FTP server if you disconnect unexpectedly. The default value is 0.