SmartFTP FTP Library
PortMode Enumeration
IDL
enum PortMode {
  ftpPortModeDefault = 1,
  ftpPortModeManual = 2,
  ftpPortModeAuto = 3
};
Members

ftpPortModeDefault
The client IP address is used.
ftpPortModeManual
The IP address specified in the PortIP property is used. If the PortIP address is empty, the client will revert to the default mode.
ftpPortModeAuto
The external IP address is obtained from a UPnP enabled router device. If it fails the IP repeater is queried for the external address. If the IP repeater is not specified or available the client will revert to the default mode.

To set the port mode use the PortMode property.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.