Replies: 2 comments
-
you should not use chunked response for files download, AWServers can handle files download quite effectively with static handler, from what we tested downloading >10MiB files from SDCARD works pretty well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying download files from our ESP32Dev unit using beginChunkedResponse() as the files we need to transfer are over 5k. The initial work i did used Lib_deps = ... me-no-dev/[email protected]... When I change to use later versions e.g. ESP32Async/[email protected] I find that the lambda expression referenced in beginChunkedResponse() does not execute, yet it does execute when version 1.2.4 is used.
Can anyone give me any guidence as where I may be going wrong.
Regards
Peter
Processing debug_soil_monitor (platform: espressif32; board: esp32devdln1v14; framework: arduino, espidf)
Library Manager: Installing me-no-dev/ESPAsyncWebServer @ 1.2.4
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: ESP Async [email protected] has been installed!
Library Manager: Resolving dependencies...
Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32devdln1v14.html
PLATFORM: Espressif 32 (6.10.0) > DLN Sensor2Sat Module
HARDWARE: ESP32 240MHz, 520KB RAM, 16MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
Warning! Arduino framework as an ESP-IDF component doesn't handle the
variant
field! The defaultesp32
variant will be used.Reading CMake configuration...
Library Manager: Installing me-no-dev/ESPAsyncWebServer @ 1.2.4
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: ESP Async [email protected] has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing Hash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ strict
Library Manager: Installing me-no-dev/ESPAsyncWebServer @ 1.2.4
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: ESP Async [email protected] has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing Hash
Found 44 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FDC1004 @ 0.0.0+20250321161441
|-- SparkFun u-blox GNSS Arduino Library @ 2.2.22
|-- ADS1X15 @ 0.3.10
|-- Time @ 0.0.0+20250321161441
|-- DLN - Accelerometer(BMA456) @ 1.0.0
|-- ArduinoNvs @ 2.10.0
|-- SHA-1 Hash @ 1.1.0
|-- WiFiManager @ 2.0.17+sha.b67b782
|-- src
|-- WebServer @ 2.0.0
|-- WiFi @ 2.0.0
|-- Wire @ 2.0.0
|-- FS @ 2.0.0
|-- LittleFS @ 2.0.0
|-- AsyncTCP @ 1.1.1
|-- DNSServer @ 2.0.0
|-- ESP Async WebServer @ 1.2.4
|-- Update @ 2.0.0
Beta Was this translation helpful? Give feedback.
All reactions