Feature Request: Add upsert / overwrite support to storage.move() #48566
Unanswered
KiddoV
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
It would be useful if
storage.move()supported overwriting the destination file, similar toupload().Current behavior:
If
avatar.jpgalready exists, the move fails with a duplicate error. The current workaround is:Proposed API:
or
This would make
move()consistent withupload(), reduce API calls, and simplify common file replacement workflows.All reactions