...
Network Configuration
Panel |
---|
title | Table - FTP and FTPS Port Configuration |
---|
|
Constant | Description | Possible Values |
---|
FTPs_CFG_CTRL_ |
|
...
IPPORT | Define the TCP port µC/FTPs will listen for control requests. | 21 |
|
...
FTPs_CFG_DATA_IPPORT | Define the TCP port µC/FTPs will listen for data exchanges in passive mode. | 20 |
|
...
...
SECURE | Define the TCP port µC/FTPs will listen for secure (SSL) control requests. | 990 |
|
...
...
...
the TCP port µC/FTPs will listen for |
|
...
secure (SSL) data exchanges in passive mode. | 989 |
|
Control Timeout & Retry Configuration
Panel |
---|
title | Table - Inactivity Timeout Configuration for Control Connection |
---|
|
Constant | Description | Possible Values |
---|
FTPs_CFG_CTRL_MAX_ |
|
...
...
MS | Maximum inactivity time (ms) on RX, after the TCP has been accepted by the server control task | Must be >= 1 30000 |
|
Data Exchange Timeout & Retry Configuration
Panel |
---|
title | Table - Inactivity Timeout and Retry Configuration for Data Connection |
---|
|
Constant | Description | Possible Values |
---|
FTPs_CFG_DTP_MAX_ACCEPT_TIMEOUT_ |
|
...
MS | Maximum inactivity time (ms) on ACCEPT, in passive mode when the command has been launched. | Must be >= 1 5000 |
|
...
...
ACCEPT_RETRY | Maximum number of retries on ACCEPT,in passive mode when the command has been launched. | Must be >= 1 3 | FTPs_CFG_DTP_MAX_ |
|
...
...
These values define the timeout values (in milliseconds) for control and data transfer sockets. Since the control socket may not receive commands for a while, the timeout can be longer. However, this FTP server is limited to one client at a time. If a client gets stuck, it may take a while before the server will release the socket. So we recommend you to keep the control socket connection timeout low and activate the “keep-alive” functions of your FTP client, which send “NOOP
” command periodically.
...
| Maximum inactivity time (ms) on CONNECT, in active mode (trying to connect on the data connection provided by the client). | Must be >= 1 5000 | FTPs_CFG_DTP_MAX_RX_TIMEOUT_MS | Maximum inactivity time (ms) on RX by data socket. | Must be >= 1 5000 | FTPs_CFG_DTP_MAX_TX_RETRY |
|
...
...
Maximum number of retries |
|
...
on TX when trying to transmit data on the data socket. | Must be >= 1 3 |
|
Authentication Configuration
Panel |
---|
title | Table - User Authentication Configuration |
---|
|
Constant | Description | Possible Values |
---|
FTPs_CFG_MAX_USER_ |
|
...
LEN | Maximum length for user name the FTP client will transfer to the application for authentication.. | Must be >= 1 32 |
|
...
...
LEN | Maximum length for password the FTP client will transfer to the application for authentication. |
|
...
File system Configuration
Panel |
---|
title | Table - File System Configuration |
---|
|
Constant | Description | Possible Values |
---|
FTPs_CFG_FS_PATH_LEN_ |
|
...
MAX | Maximum length for FS path. | Must be >= 1 256 |
|
...
...
MAX | Maximum length for file name. | Must be >= 1 256 |
|