Simple HTTP File Server Example upload/download to sdcard

haipas
Posts: 1
Joined: Fri May 07, 2021 11:40 am

Simple HTTP File Server Example upload/download to sdcard

Postby haipas » Fri May 07, 2021 12:09 pm

Hello,

i am trying to upload and download files to the sdcard in the example. https://github.com/espressif/esp-idf/tr ... le_serving

I have activated the option "EXAMPLE_MOUNT_SD_CARD" as written in the README.
The SD card is recognized and mounted according to the log.

However, I can't find a way to access the sdcard. With the file upload button I always write to the spiffs file system in the esp.
What is the command to get to the sdcard via the url or curl?

Thanks for your help

rtborg
Posts: 67
Joined: Wed Oct 23, 2019 6:15 am

Re: Simple HTTP File Server Example upload/download to sdcard

Postby rtborg » Tue Apr 19, 2022 12:00 pm

I'd also like to know how to make the v4.4 example read/write to SD card. It is mounted fine, but the file server operates on spiffs only.

Fredckx
Posts: 17
Joined: Mon Mar 29, 2021 8:55 pm

Re: Simple HTTP File Server Example upload/download to sdcard

Postby Fredckx » Mon May 09, 2022 8:28 pm

Anyone listening here? I have the same problem. ESP-IDF 4.4.1 file_serving example, SD card enabled via menuconfig. Files doe not seem to be saved to SD.

ESP_Mahavir
Posts: 190
Joined: Wed Jan 24, 2018 6:51 am

Re: Simple HTTP File Server Example upload/download to sdcard

Postby ESP_Mahavir » Mon May 16, 2022 8:43 am

Can you please try this example from latest `release/v4.4` branch? Example was fixed for SD card support in https://github.com/espressif/esp-idf/co ... fb54d1e759, this fix shall be part of v4.4.2 release.

Who is online

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