KMatle Expert Licensed User Longtime User May 6, 2021 #1 I'm trying do download a 700 KB file. These logs come from the lib. Any way achieve this? I need to write the data to a file for e.g. OTA.
I'm trying do download a 700 KB file. These logs come from the lib. Any way achieve this? I need to write the data to a file for e.g. OTA.
Erel B4X founder Staff member Licensed User Longtime User May 6, 2021 #2 You will need to modify AStream_NewData and write the incoming data to the file. It is a bit more complicated as the incoming data will include the response headers. Upvote 0
You will need to modify AStream_NewData and write the incoming data to the file. It is a bit more complicated as the incoming data will include the response headers.
KMatle Expert Licensed User Longtime User May 8, 2021 #3 Solved by using this code: https://www.b4x.com/android/forum/threads/esp32-download-huge-file-from-a-server-and-save-it.130503/ Upvote 0
Solved by using this code: https://www.b4x.com/android/forum/threads/esp32-download-huge-file-from-a-server-and-save-it.130503/