me-no-dev / ESPAsyncWebServer

Async Web Server for ESP8266 and ESP32
3.68k stars 1.21k forks source link

Downloading error over 5.6 KB data and Streaming data upto 5.6 KB #1165

Closed Ritik2k1 closed 1 year ago

Ritik2k1 commented 2 years ago

Hello everyone,

I want to download and stream file of spiffs using web server but I'm struggling when it comes to download and stream file over 5.6 KB. While using this library here I get the size of maxLen and it is 5.6 KB, i think due to the maxLen size I can't download files over 5.6 KB, and on stream it streams only 5.6 KB of data. So how i download and stream data over 5.6 KB? and how can i change maxLen size? Device: M5Core 2

stale[bot] commented 2 years ago

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

r3v1 commented 1 year ago

Having the same problem. Do you find any solution?

Ritik2k1 commented 1 year ago

Not yet.

Regards, Ritik Rajput

On Wed, 26 Jul, 2023, 2:14 am David Revillas, @.***> wrote:

Having the same problem. Do you find any solution?

— Reply to this email directly, view it on GitHub https://github.com/me-no-dev/ESPAsyncWebServer/issues/1165#issuecomment-1650534476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZN2MMJ6RZI5CTWRGJ4M6GTXSAVZFANCNFSM5XQ3IIDA . You are receiving this because you authored the thread.Message ID: @.***>

cacs200281 commented 10 months ago

Same problem here :(

r3v1 commented 10 months ago

The only workaround I found is to create files smaller than 5kb, in fact about 1kb and name them as foo_001, foo_002

cacs200281 commented 10 months ago

I found a video that the guy uses a code with the correction, He told me that the code must be edited to work fine. Unfortunately He didn't say exactly where and what to be edited :(

Ritik2k1 commented 10 months ago

Could you please share me that video link.

Regards, Ritik

On Mon, 30 Oct 2023 at 3:44 PM, cacs200281 @.***> wrote:

I found a video that the guy uses a code with the correction, He told me that the code must be edited to work fine. Unfortunately He didn't say exactly where and what to be edited :(

— Reply to this email directly, view it on GitHub https://github.com/me-no-dev/ESPAsyncWebServer/issues/1165#issuecomment-1784874492, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZN2MMOHBCSI3KIT64BXNG3YB54ZZAVCNFSM5XQ3IIDKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZYGQ4DONBUHEZA . You are receiving this because you authored the thread.Message ID: @.***>

cacs200281 commented 10 months ago

Could you please share me that video link. Regards, Ritik Video and Code

Ritik2k1 commented 10 months ago

Will check and let you know.

Regards, Ritik

On Mon, 30 Oct 2023 at 4:23 PM, cacs200281 @.***> wrote:

Could you please share me that video link. Regards, Ritik Video https://www.youtube.com/watch?v=TmV6JAUtrvw and Code https://github.com/G6EJD/G6EJD-ESP-File-Server

— Reply to this email directly, view it on GitHub https://github.com/me-no-dev/ESPAsyncWebServer/issues/1165#issuecomment-1784937751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZN2MMJ6QBILZPYSLAE2U5TYB6BKZAVCNFSM5XQ3IIDKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZYGQ4TGNZXGUYQ . You are receiving this because you authored the thread.Message ID: @.***>