Page 1 of 1

Http server file server

Posted: Tue Jun 18, 2019 8:21 pm
by snahmad75
Does new Http server file server

https://github.com/espressif/esp-idf/bl ... e_server.c

File server presently supports only '/spiffs' as base path

Can i used with sdcard?

Re: Http server file server

Posted: Wed Jun 19, 2019 2:24 am
by ESP_Sprite
As far as I'm aware, the webserver is filesystem- and device-agnostic, so you can have it serve anything that appears in the esp-idf vfs tree, including SD-cards.

Re: Http server file server

Posted: Wed Jun 19, 2019 7:43 am
by snahmad75
ESP_Sprite wrote:
Wed Jun 19, 2019 2:24 am
As far as I'm aware, the webserver is filesystem- and device-agnostic, so you can have it serve anything that appears in the esp-idf vfs tree, including SD-cards.
Thanks,

I will try. I am using mongoose currently. I am facing slow file download. I would like to try this Http server to compare download speed. read of file store on sdcard. my file is 5Mb. It takes 30 seconds to download.