File System Interface
The Embedded FTP Server can store files in a generic File System. All interface functions are located in FTP_uif.c, which is a user interface module. This module is in the \Keil\ARM\RL\TCPnet\User folder. You must copy it to your project directory and add it to your project.
The FTP_uif.c module is preconfigured for RL-FlashFS, so no modifications are required. You can modify this interface module to use another type of file system or to use a different storage media such as a hard disk.
The following functions are implemented in this module:
The following functions are optional in this module:
- ftp_accept_host() - used for the FTP server access filtering. It is called when a FTP client is trying to connect to a FTP server.