I was using firebase storage to upload user pdf file, and tested that it successfully uploaded. But unfortunately, the files are saved as 9B octet stream not pdf. I found the solution to upload files as pdf, but haven't found any solution to recover the uploaded octet stream files back as pdf. Is there any possible way to convert the files back to pdf?
Asked
Active
Viewed 13 times
0
-
You can make changes using the Google Cloud console for the same bucket that you're using through Firebase. Google Cloud Storage and Firebase Storage are the same underlying product. – Doug Stevenson Jan 29 '22 at 14:32
-
1If the Firebase console says the file size is 9 bytes, there is nothing more than those 9 bytes that it has stored. Since you never uploaded the full PDF, there is no way to retrieve that PDF data from Firebase/Cloud Storage. – Frank van Puffelen Jan 29 '22 at 14:36