Firebase Admin icon

Firebase Admin

Interact with Firebase Firestore, Auth, and Storage using Firebase Admin SDK

Storage → Move File

AI-generated

Summary

Move a file from a source path to a destination path within a specified Firebase Storage bucket associated with a project.

Inputs

  • Project Name or ID — Select the Firebase project from which to move the file, either by name or ID. Can use expressions.
  • Bucket Name or ID — Specify the storage bucket name or ID where the file resides. Leave empty to use the default bucket. Can use expressions.
  • Source Path (required) — The path to the source file in the storage bucket to be moved.
  • Destination Path (required) — The path in the storage bucket where the file should be moved to, including the new file name.
  • Options: If File Exists — Defines behavior if a file already exists at the destination path. Options include Overwrite, Fail (default), Skip, or Rename by adding a timestamp suffix to avoid overwriting.

Output shape

a single record

Returns information about the moved file. Behavior depends on 'If File Exists' option. If set to 'Fail' and destination exists, the operation stops with an error; 'Skip' continues without moving; 'Overwrite' replaces the destination file; 'Rename' changes the destination filename to avoid conflict.

Links

Discussion