Jump to main content

##

# 1.2.1.11.2 Library Interface

Name | Description
--- | ---
Macros |
TCPIP_FTP_PASSWD_LEN | Specifies the max length of FTP login password
TCPIP_FTP_USER_NAME_LEN | Specifies the max length for user name
TCPIP_FTP_DATA_SKT_RX_BUFF_SIZE | Define the size of the RX buffer for the FTP Data socket Use 0 for default TCP RX buffer size. The default recommended value for high throughput is > 2MSS (3 KB). The performance of a socket is highly dependent on the size of its buffers so it's a good idea to use as large as possible buffers for the sockets that need high throughput.
TCPIP_FTP_DATA_SKT_TX_BUFF_SIZE | Define the size of the TX buffer for the FTP Data socket Use 0 for default TCP TX buffer size. The default recommended value for high throughput is > 2MSS (3 KB). The performance of a socket is highly dependent on the size of its buffers so it's a good idea to use as large as possible buffers for the sockets that need high throughput.
TCPIP_FTP_MAX_CONNECTIONS | Maximum number of FTP connections allowed
TCPIP_FTP_PUT_ENABLED | Comment this line out to disable MPFS
TCPIP_FTP_TIMEOUT | FTP timeout, seconds
General Functions |
TCPIP_FTP_ServerTask | Standard TCP/IP stack module task function.
Data Types and Constants |
TCPIP_FTP_MODULE_CONFIG | FTP Sever module runtime and initialization configuration data.
TCPIP_FTPS_TASK_TICK_RATE | The FTP server task rate, milliseconds The default value is 33 milliseconds. The lower the rate (higher the frequency) the higher the FTP server priority and higher transfer rates could be obtained The value cannot be lower than the TCPIP_STACK_TICK_RATE.