Configuration of the FTP client.
Configuration of the FTP client.
FTP Client Configuration File
The FTP client configuration file Net_Config_FTP_Client.h contains the following settings:
- Response Timeout in seconds is an inactivity timeout. When the FTP client does not receive a response from a FTP server within this timeout, the operation is aborted.
- In Passive mode (PASV), the FTP client initiates both connections (control and data) to the server. This solves the problem of firewalls filtering the incoming data port connection to the client from the server.
- Note
- One FTP session uses two TCP sockets, one control and one data socket. Have this in mind when you are configuring the number of TCP sockets.