FTPs_SetPublicAddr()

Set public IP address and port used by the FTP server in passive mode.

Files

ftp-s.h / ftp-s.c

Prototype

void  FTPs_SetPublicAddr (NET_IPv4_ADDR   public_addr,
                          NET_PORT_NBR    public_port);

Arguments

        public_addr Public IP address used to reach the FTP server (in passive mode) over the internet. If the FTP server lies behind a router, this parameter can be the public IP address of this router.

        public_port Public port opened and routed to the port configured by FTPs_DTP_IPPORT.


Returned Values

        None.