OTA File upload #284
Replies: 2 comments 1 reply
-
Firebase RTDB does not support binary file. If you want to upload and download binary file yourself, you have to convert binary to string or base64 string before storing in database and convert the string to base64 string to binary when restoring from database. This library is already provided on-the-fly base64 string conversion feature when upload and download file via File functions. And also provided OTA update. Any way, you should use Firebase Storage or Google Cloud Storage for large file instead by using this library. |
Beta Was this translation helpful? Give feedback.
-
If your binary file stored on the server (web), you should download it with http client and store it in flash or sd before storing to database. |
Beta Was this translation helpful? Give feedback.
-
how to upload firmware file to rtdb?
Check the Flash Example and its File base64 string so how should i upload directly my arduino.ino.bin file to rtdb from web ?
Beta Was this translation helpful? Give feedback.
All reactions