Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By AdamWu
#60980 Cool, this interpretation of LGPL is much less protective than some other interpretations that I have seen.

BTW, turns out the part of code I borrowed from Linux (time parsing) can be substituted with some libc calls, so I have gotten rid of those code now.

Testing basic operations and will release soon... :D
User avatar
By AdamWu
#61298 Finally done. Turned out to be quite a venture! :)

Library: FATFS on internal flash for ESP8266 Arduino:
https://github.com/Adam5Wu/ESPVFATFS

To work with this library, Arduino has to be tweaked and extended:
https://github.com/Adam5Wu/Arduino

Forked ESPAsyncWebServer that uses proper modification time for cache control (with some other tweaks/improvements)
https://github.com/Adam5Wu/ESPAsyncWebServer

Forked esp8266FTPServer that works with FatFs, with directory support implemented:
https://github.com/Adam5Wu/esp8266FTPServer

Note that, one can easily combine the two examples of above two project into a single sketch, and make an FTP upload and HTTP serving Web server. Normally every static file will be cached by browser, but FTP updated files will have new modification timestamp and thus will trigger resending new content upon browser refresh.