You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the basic example for SDWebServer on edit mode the path are generated wrong.
A relative path is generated with a double slash // at the beginning resulting that no files can be uploaded or downloaded.
If the path in the request is manually corrected in the browser everything works fine.
So I think the problem is located in the htm file provided here: https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer/examples/SDWebServer/SdRoot/edit
@menachers You can test the changes from PR #6505 till it gets merged. But don't update to 2.0.3-RC1 yet otherwise the SDWebServer won't work. SD reading needs to be fixed. Wait for 2.0.3 release.
Board
DOIT ESP32 DEVKIT v1
Device Description
Plain module with SD reader
Hardware Configuration
Nothing special besides SD reader.
Version
v2.0.2
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
115200
Description
When using the basic example for SDWebServer on edit mode the path are generated wrong.
A relative path is generated with a double slash // at the beginning resulting that no files can be uploaded or downloaded.
If the path in the request is manually corrected in the browser everything works fine.
So I think the problem is located in the htm file provided here:
https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer/examples/SDWebServer/SdRoot/edit
This is happening:
Screenshot 2022-03-27 154213
I tried to modify the javascript but I have no clue where to start since I have no idea where the path variable "comes from".
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: