在 Firebase 控制台中管理存储的文件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Firebase 控制台的文件页面提供了 Cloud Storage 存储桶中包含的文件的概览。如果要直观呈现存储桶的结构以验证您的应用能否运行,或者如果需要方便地存储少数文件(如静态图片或视频内容),此页面对您会非常有用。在 Firebase 控制台的此页面中,您可以查看详细的文件信息、上传和下载文件、创建文件夹以及为文件创建新的下载网址。
上传文件
要上传文件,请执行以下操作:
- 点击上传文件。
- 选择要上传的文件。
- 点击打开以开始上传。
下载文件
要下载文件,请执行以下操作:
- 在您要下载的文件的名称旁边点击相应的方框。
- 点击下载。
删除文件或文件夹
要删除文件或文件夹,请执行以下操作:
- 在您要删除的文件或文件夹的名称旁边点击相应的方框。
- 点击删除。
创建文件夹
要创建文件夹,请执行以下操作:
- 点击 create_new_folder。
- 为新文件夹输入名称。
- 点击添加文件夹。
为文件创建新的下载网址
在某些情况下(例如,如果现有的下载网址已过度分享),您可能需要为文件创建新的下载网址。
要为文件创建下载网址,请执行以下操作:
- 点击要更改其网址的文件的名称。
- 展开文件位置部分。
- 点击创建新下载网址。
- (可选)您可以对原有的下载网址点击撤消以将其移除。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-17。
[null,null,["最后更新时间 (UTC):2025-08-17。"],[],[],null,["\u003cbr /\u003e\n\nThe **Files** page of the Firebase console provides an overview of the files\ncontained in your Cloud Storage buckets. This can be helpful for visualizing the\nstructure of your bucket to verify that your application is working or if you\nneed a convenient way to store just a few files like static images or video\ncontent for your application. From this page of the Firebase console, you can\nview detailed file information, upload and download files, create folders, and\ncreate new download URLs for files.\n\nUpload files\n\nTo upload files:\n\n1. Click **Upload file**.\n2. Select the files you want to upload.\n3. Click **Open** to begin the upload.\n\nDownload files\n\nTo download files:\n\n1. Click the box next to the file names to download.\n2. Click **Download**.\n\nDelete files or folders\n\nTo delete files or folders:\n\n1. Click the box next to the file or folder names to delete.\n2. Click **Delete**.\n\nCreate a folder\n\nTo create a folder:\n\n1. Click create_new_folder.\n2. Enter a name for your new folder.\n3. Click **Add folder**.\n\nCreate a new download URL for a file\n\nSometime you may need to create a new download URL for a file, such as if an\nexisting one has been too widely shared.\n\nTo create a new download URL for a file:\n\n1. Click the name of the file whose URL you want to change.\n2. Expand the **File location** section.\n3. Click **Create new download URL**.\n4. Optionally, you can click **revoke** on the previous download URL to remove it."]]