The FILINFO structure holds information about the object returned by f_readdir, f_findfirst, f_findnext and f_stat function. Be careful in the size of structure when LFN is enabled.
typedef struct { FSIZE_t fsize; /* File size */ WORD fdate; /* Last modified date */ WORD ftime; /* Last modified time */ BYTE fattrib; /* Attribute */ #if FF_USE_LFN TCHAR altname[13]; /* Alternative object name */ TCHAR fname[FF_MAX_LFN + 1]; /* Primary object name */ #else TCHAR fname[13]; /* Object name */ #endif } FILINFO;