# sd_file_server A component to access the file on an sdcard from a browser # Config This component require the [sd_mmc_card](components/sd_mmc_card/README.md) component to be configured. ```yaml sd_file_server: id: file_server url_prefix: file root_path: "/" enable_deletion: true enable_download: true enable_upload: true ``` * **url_prefix**: (Optional, string, default="file") : url prefix to acces the file page (ex : sd-card.local/file) * **root_path**: (Optional, string, default="/"): sd card file system root * **enable_deletion**: (Optional, boolean, default=False): enable file deletion from the web page or api * **enable_download**: (Optional, boolean, default=False): enable file download from the web page or api * **enable_upload**: (Optional, boolean, default=False): enable file upload from the web page or api # Notes * Trying to download large file will saturate the memory of the esp and make it crash ## esp-idf Deleting/uploading a file with the esp-idf framework does not seams to work for some reasons.