Configuration of the TFTP server.
Configuration of the TFTP server.
TFTP Server Configuration File
The TFTP server configuration file Net_Config_TFTP_Server.h contains the following settings:
- Number of Sessions specifies the number of available TFTP sessions. The default value is one, and this enables only one concurrent client connection. You should increase this number if multiple TFTP clients must connect to the TFTP server at the same time.
- Port Number specifies the listening UDP port number. The default TFTP server listening port is 69.
- The Enable Firewall Support switch should be selected if the TFTP server runs behind a firewall. It then uses the listening UDP port not only to receive requests, but also to send the answers to the clients. If this is not enabled, the TFTP server runs in RFC1350 compliant mode.
- Inactive Session Timeout in seconds tells the TFTP server to close a session if the TFTP file transfer is interrupted for some reason and the timeout timer expires.
- Number of Retries specifies how many times the TFTP Server tries to retransmit the data before giving up.
- Enable Root Folder can be used to specify a local root folder on the current storage device that will be used as the entry point for all TFTP operations.
- Local Root Folder specifies the directory that is to be used as root folder.