Chat freely about anything...

User avatar
By ArjenV
#96262 Dear forum

Wrote an application with webbrowser in LittleFS. Beside the html/css/javascript files, It uses binary files to store/read/write settings. I can upload these binary files with the 'ESP8266 data upload littlefs' script within de arduino IDE. However, the program stores data in the littlefs filesystem as well. I'd like to be able to download the contents as well as a backup for instance. I searched several search engines and this forum for a solution but did not find any.
I'd be happy with a command line program to list and download the littlefs contents (via serial). A webbrowser solution would even be better. ftp, telnet, surprise me :-)
Could someone point me in the direction of such a solution?

Thanks
User avatar
By btidey
#96263 Look at the FSBrowser example under the ESP8266WebServer library..
This gives the ability to upload / download/ view and delete files on the filing system.

I always include this in any esp8266 project needing a server as I find it a convenient way to maintain the files on the filing system.

I incorporate the routines necessary in my Basesupport library to make it easier to include.
https://github.com/roberttidey/BaseSupport