3
2 Comments

Firebase Storage - update file while keeping same URL

Hi hackers, for those who use Firebase storage, has any of you found a way to replace a file while keeping the same public URL?

posted to Icon for group Developers
Developers
on December 14, 2019
  1. 4

    You can update the file by uploading the new content to the same path, but you have to have a proper write permission set. This SO question might help: https://stackoverflow.com/questions/41423890/is-there-a-way-to-overwrite-a-saved-file-in-firebase-storage. Since firebase storage stores files on google cloud storage bucket you can manipulate files with its SDK as well which has richer set of functions if you need more control.

    1. 1

      Problem solved, thanks @szferi :)

Trending on Indie Hackers
I built a WhatsApp AI bot for doctors in Peru — launched 3 weeks ago, 0 paying customers, and stuck waiting for Meta to approve my app User Avatar 57 comments Your build-in-public audience is not your market. I learned the difference the slow way. User Avatar 43 comments How to see revenue problems before they get worse User Avatar 30 comments From broke and burned out as a PM, to launching my SaaS and optimizing my health User Avatar 28 comments I kept starting projects and dropping them. So I built a system that wouldn’t let me User Avatar 23 comments We built Shopify themes to $20k/month. Now we have to pivot. User Avatar 20 comments