In my web application which uses Firebase v9: Specific to downloading files from a firebase cloud storage bucket client side, I am concerned about cost and quotas. Which method is the most cost effective? use getBlob() to download a file. use getDownloadURL() to obtain a download url, store it in the DB and s…
Tag: google-cloud-storage
Firebase Cloud Storage – upload with metadata –
I wish to upload files from the browser with metadata that will allow the files to be identified and handled correctly with cloud functions. On the client my uploader code looks like this: And on the server (Firebase Cloud Functions using Node js) The uploadHandler is working – but metadata is undefined…
Image uploading in Angular
I was trying to upload an image using Angular to a google storage bucket. And everything is working fine with Postman. But I’m stuck with angular typescript. Can anyone suggest to me a way to do this? .html file .ts file } .service file } No any error occurs on the backend side. It worked fine with Post…
Firestorage has different behavior when hardcode
I don’t know what happened with my code. But everytime i used this code is working But when i switched to urlPathThumbs it will become error 404. Error said like so Firebase Storage: Object ‘courses/m9APF8TEUnfS6IQew591sl4kphH2/thumbs/Rectangle 68 (1)_200x200.png’ does not exist. (storage/ob…
Upload JSON string to Google Cloud Storage without a file
My case is when I receive data from some other source as a JSON string, then I want to upload this string to Google Cloud Storage without writing this string to a local file and upload this file. Is there any way to do this. Thank you. Look like this code below so I expected the Google Cloud Storage will
How do I use firebase storage from a client side React app?
I’m trying to write a file into cloud storage from within my React app. I created a new React app using the create-react-app tool. I believe I have followed the correct instructions to get a storage reference, with code like this: this.storage = firebase.storage();. But, no matter how I configure fireba…