Http server file server

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Http server file server

Postby snahmad75 » Tue Jun 18, 2019 8:21 pm

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?

ESP_Sprite
Posts: 9715
Joined: Thu Nov 26, 2015 4:08 am

Re: Http server file server

Postby ESP_Sprite » 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.

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: Http server file server

Postby snahmad75 » Wed Jun 19, 2019 7:43 am

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.

Who is online

Users browsing this forum: Bing [Bot] and 452 guests