Fileset FTP protocol: FTP Options tab

When the driver connects to the remote server, or must change its connection to the server, it sends commands from these values.

This table shows the FTP account information to specify.

Note: You can use absolute paths. These must begin with %2F or /.
Field Description
Login Specifies the user name to log in to the server.
Password Specifies the password to log in to the server.
Account Info Specifies any account information necessary to log in to the server. If the server does not prompt for the password or the account information, then they are not sent. Refer to your FTP server documentation to determine what is required to log in.

Having logged on, the driver sets the default transfer type.

  • If the log-in process is prompted by an inbound or outbound operation, then further commands to that end are sent.
  • If the driver is initializing itself, then it sends no further commands until required.

FTP Options pane

This tables shows FTP Options pane parameters. When the driver connects to the remote server, or must change its connection to the server, it sends these commands, as required:

Parameter Description
Local Binding Address Specify the IP address or a resolvable host name, or click List to make a selection.
Response Timeout Specify the number of seconds the driver should wait for a response after a command is sent.

When the server’s response arrives, the driver reads, parses, and handles the response, continuing the operation it started.

If it does not receive a response, then the driver yields back to the command thread so that other threads can run.

Dir List Command Specify a string that looks for inbound files in the remote inbound directory.
Close connection after write Select this to close the connection after every outbound write. Clear this to keep the connection open. Usually, the FTP connection is open.
Delay connection until needed Select this to delay the connection until it is required. Clear this to make the connection during thread start-up.
Data Type Specify the default transfer type.
ACTIVE Mode In ACTIVE mode, the FTP client opens a dynamic port. It then sends the FTP server the dynamic port number on which it is listening over the control stream. At this point, waits for a connection from the FTP server. When the FTP server initiates the data connection to the FTP client, it binds the source port to port 20 on the FTP server.

In passive mode, when the check box is cleared, the FTP server opens a dynamic port. It then sends the FTP client the server's IP address. This is the address to connect with and the port on which to listen over the control stream. Then it waits for a connection from the FTP client. This is a 16-bit value that is broken into a high and low byte. In this case, the FTP client binds the source port of the connection to a dynamic port.

Secure Option Use the to select the type of secure implementation and then click Configure to configure the settings.
Max Retries This is the maximum number of retries when Fileset FTP encounters an error. This is supported in CLAPI.

Most of the FTP configuration applies to all inbound and outbound FTP operations. The driver maintains one FTP connection at a time. If the FTP connection is lost or times out, then the driver attempts to re-establish it. This happens if, or when, it is required for the next FTP operation.

FTP Host Information pane

This tables shows FTP host information parameters:
Parameter Description
Host The machine with which to connect. Click List to open the Hosts List box. Select a host name and click Apply.
Port The port/service with which to connect. Click List to open the Ports List box. Select a port name and click Apply.

FTP Protocol Start-Up Procedures pane

Click Edit to open the TPS Editor. Use this dialog box to select the procedures to run when the thread starts. This is a TPS (Tcl Procedure Stream). Use it to trade messages with the remote end.