me-no-dev / ESPAsyncWebServer

Async Web Server for ESP8266 and ESP32
3.62k stars 1.18k forks source link

SPIFFS Editor file open error #1256

Open mtibi75 opened 1 year ago

mtibi75 commented 1 year ago

When the first load editor, it show the index.htm content. But i clicked other file, it not show file content, not delete, not download. Browser console error: GET http://192.168.1.23/edit?edit=index.css 404 (Not Found). But, i open this link a new tab and modify the path, insert a "/" :http://192.168.1.23/edit?edit=/index.css, it shows file content. I use Arduino 1.8.19, LittleFs file system and the new 2.0.6 board SDK. Thanks for help.

andykaaa commented 1 year ago

„When the first load editor, it show the index.htm content. But i clicked other file, it not show file content, not delete, not download. ...”

Megoldva: (https://github.com/me-no-dev/ESPAsyncWebServer/pull/1220)

Jakeduncan00 commented 1 year ago

The files you want to upload to the ESP32 filesystem should be placed in a folder called data under the project folder. ... Then, select the newly created data folder and create the files you want to upload by clicking on the New File icon. ... Write some random text inside that . https://www.myadvocateaurora.us/

stale[bot] commented 1 year ago

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.