Replies: 1 comment
|
The default raw chunk size for TCP data sending for header and payload is 2048 bytes. Your ESP32 Arduino core is outdated and may not be compatible. |
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.
Just ask something
Is there any limit on file uploading size?
How many chunk of bytes are read at a time while uploading a bigger file? 512/ 1024 bytes or more while uploading?
Describe the bug
I am trying to upload a text file from SPIFFS. I am able to do it for smaller files, it works.
When tried for larger files, the upload does not happen. File is of 659818 bytes and contains alphanumeric texts data.
To Reproduce
Expected behaviour
It is expected the file will upload successfully, it should be seen in Firebase Storage.
Serial Terminal Log
IDE and its version:
ESP32 Arduino Core SDK version
Additional tests
I also created another custom file wrapper for reading data from another external SPI flash as a File. When that file is passed to this example as a file, the data is read as 1 byte at a time in the log I printed. I was expecting it to read data in bigger chunks like 512 bytes.
This caused the TCP error -2 and file upload failed.
Please help on this. Let me know if I made any mistake while using this example.
backup.txt
All reactions