File Server shows no files inside the directories
Posted: Thu Jul 21, 2022 12:27 pm
Hello,
While I'm exploring the file sever example in the SDK: https://github.com/espressif/esp-idf/tr ... le_serving I was successful in connecting and visualising the files in the base_path.
However, when I try to access the files inside the directory, it say file not exists, but on the ESP_LOG it says,
My directory looks something like this,
What's missing in this? Do I need some config to access files inside the directory?
While I'm exploring the file sever example in the SDK: https://github.com/espressif/esp-idf/tr ... le_serving I was successful in connecting and visualising the files in the base_path.
Code: Select all
base_path = "/sdcard"
Code: Select all
I (5606) example: File server started
I (16456) file_server: Found directory : PREDICT (0 bytes)
E (34206) file_server: Failed to stat dir : /sdcard/PREDICT/
W (34206) httpd_txrx: httpd_resp_send_err: 404 Not Found - Directory does not exist
W (34216) httpd_uri: httpd_uri: uri handler execution failed
Code: Select all
.
└── predict
├──ZA_R01_1.jpg
└── ZA_R01_2.jpg
1 directory, 2 files