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