Functions | |
int32_t | ftp_server_init (user_type *user, void *(*fat_init_ftp)(void), int32_t max_connections) |
Initialize FTP server. More... | |
void | ftp_server_timeout (uint32_t timeout) |
Set a FTP server timeout for inactive connection. More... | |
ftp_return_type * | ftp_server (void) |
The main polling function for concurrent FTP server. More... | |
uint32_t | ftp_is_server_connected (void) |
Test if clients are connected. More... | |
void | ftp_set_passive_mode (uint16_t mode) |
Activate passive mode for FTP server. More... | |
*user | - pointer to user list |
*fat_init_ftp | - pointer to mmc initialize function |
max_connections | - connection limitation |
void ftp_server_timeout | ( | uint32_t | timeout | ) |
timeout | - timeout after FTP connection is closed |
ftp_return_type* ftp_server | ( | void | ) |
- |
Recognized commands: USER PORT STOR NLST CDUP PASS RETR ABOR TYPE SYST CWD REIN HELP PWD QUIT LIST XPWD REST ABOR DELE NOOP RNFR RNTO BOOT PASV
uint32_t ftp_is_server_connected | ( | void | ) |
- |