So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Adzmo
#64767 Thank you, now i know how to upload some txt file into my esp and how to change content of this file. I can upload jpg file and display it on my display but how can i change this jpg without uploading it manualy into data folder and pressing "ESP Sketch Data Upload"? Is it even possible?
User avatar
By gbafamily1
#64784 Controlling ESP8266 running FSBrowser using cURL. Might also work for SDBrowser. FSBrowser returns JSON encoded results.

Code: Select all* curl http://<IP address of ESP>/all

Shows debug info

Sample output: {"heap":34448, "analog":0, "gpio":28725}

* curl http://<IP address of ESP>/list?dir=/

Shows names of files starting with "/" which is all files when using SPIFFS.

Sample output: [{"type":"file","name":"foobar1.bmp"},{"type":"file","name":"foobar2.bmp"}]

* curl http://<IP address of ESP>/foobar1.bmp

Get/download foobar1.bmp

* curl -X POST -F "data=@foobar3.bmp" http://<IP address of ESP>/edit

Post/upload foobar3.bmp to ESP.

* curl -X DELETE --data 'del=/foobar1.bmp' http://<IP address of ESP>/edit

Delete foobar1.bmp.

Note the leading '/' is required.
User avatar
By Adzmo
#65007 Sorry but i dont get your answer, i didnt make any progress, i still have no idea how to make something similar as FSBrowser but without making server on esp and upload image from server on the internet..