./FreeRTOS-Plus-TCP/protocols/FTP/FreeRTOS_FTP_server.c: In function ‘prvSizeDateFile’:
…/FreeRTOS-Plus-TCP/protocols/FTP/FreeRTOS_FTP_server.c:2322:27: error: ‘FF_Stat_t’ has no member named ‘st_mtime’
time_t secs = xStatBuf.st_mtime;
In function prvSizeDateFile
if( xSendDate != pdFALSE )
{
FF_TimeStruct_t tmStruct;
time_t secs = xStatBuf.st_mtime; <<------ no st_mtime
The “MDTM” command is quite essential to FTP. It needs support for time & date in +FAT.
So unless you have a good reason not to use it, I would enable it in your FreeRTOSFATConfig.h: