Home |
FTP Client Configuration |
FTP Client ConfigurationThe FTP Client uses the following global constants, which an application can modify at run-time before calling xn_rtip_init: CFG_FTP_READ_TMOTime in seconds to wait for data to arrive. This value is used by the FTP client and server. It is also used by the FTP server as the amount of time to wait for acknowledgement from remote hosts when sending a file or responses to info for list commands. The default is 30 seconds. CFG_FTP_WRITE_TMOTimeout in seconds for the FTP client to wait for an active connection to become established. The default is 30 seconds. CFG_FTP_PASV_CON_TMOTimeout in seconds for the FTP client to wait for a passive connection to become established. The default is 1 second. If a connect attempt fails, it is retried CFG_FTP_PASV_CON_RTY times. CFG_FTP_PASV_CON_RTYNumber of time the FTP client will try to establish a passive connection. The default is 6. CFG_FTP_CLI_CNTRL_PORTTCP port number on which the client connects to the server. Default is 21.
|