Port Mode (-PT or -PORT)

The Port Mode adapter command (-PT or -PORT) specifies that you only try port mode for the FTP data connection. This is an older connection method and might be the only way to connect on older servers.

By default, the adapter first tries to connect using passive mode. See the Passive Mode adapter command (-PV). If the adapter is unsuccessful, it uses port mode. During a port mode connection, the adapter listens for the connection and dictates where the server is to connect.

Note: The HCL Link FTP Adapter supports the FTP secure socket layer (SSL) protocol only in passive mode (-PASV). If you specify the -PORT option on the command line and the FTP URL specifies the SSL protocol (for example, ftps://), the -PORT option is ignored and passive mode is used instead.

-PORT