Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By ZUID
#85053 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 ()