-->
Page 1 of 1

SPIFFS / SDFS fileTime and / or getLastWrite.

PostPosted: Thu Dec 26, 2019 4:36 am
by ZUID
I am trying to make a file list for both SPIFFS and for SDFS.
According to the documentation of the file system
{url} https://arduino-esp8266.readthedocs.io/ ... ystem.html {url]
there is a (date) time of the last Write available per file.
In the library of the ESP8266 an example is included based on LittleFS.
If I convert my program to LittleFS I get date information now visible.
This could be a solution for the local storage of the files.
I therefore have NO solution for data exchange with an SD.
Is there an example available in which the date of the last WRITE for SPIFFS and / or SD, ie with file system SDFS, gives a date?
So now I always get ZERO (0) as an answer to dir.fileTime () and / or file.getLastWrite ()