The f_stat gets the file status.
FRESULT f_stat ( const TCHAR* FileName, /* Pointer to the file or directory name */ FILINFO* FileInfo /* Pointer to the FILINFO structure */ );
The f_stat gets the size, timestamp and attribute of a file or directory. For details of the infomation, refer to the FILINFO structure and f_readdir function. This function is not supported in minimization level of >= 1.