/
FTPs_SetPublicAddr()
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.
Related content
FTPs_Init()
FTPs_Init()
More like this
FTPc_Open
FTPc_Open
More like this
Sample Application
Sample Application
More like this
FTPs_AuthUser()
FTPs_AuthUser()
More like this
Module Configuration
Module Configuration
More like this
FTPc_SendFile
FTPc_SendFile
More like this