SmartFTP FTP Library
IFTPConnection::UPnP Property

Specifies whether port mappings for Active Mode (PORT) are automatically created and removed for data connections if a UPnP enabled router is present.

__property VARIANT_BOOL UPnP;

You must initialize the UPnPNATManager before the this feature can be used. 

Regardless of this setting the UPnP device still gets queried for the external address if required.

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