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.
XML Element | 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: normal or 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 data files in the FTP server. |
MaxBlockSize |
Type: int (Required) Specify the maximum size of any data blocks transferred from the FTP server. The default value is 2048. |
TransferMode |
Type: string (Required) Specify the transfer mode for the FTP connection: active or passive. The default value is active. |
RetryPeriod |
Type: second (Required) Specify the period of time, in seconds, during which to try and reconnect to the FTP server if you disconnect unexpectedly. The default value is 30. |
RetryCount |
Type: integer (Required) Specify the number of times to attempt to reconnect to the FTP server if you disconnect unexpectedly. The default value is 0. |