Skip to content
Storage

下载对象

Learn about downloading objects

你可以根据你的使用情况通过多种方式下载 Supabase Storage 的文件。

🌐 You can download Supabase Storage files can in a variety of ways depending on your use case.

从仪表板 #

🌐 From the Dashboard

你可以直接从仪表板的 存储 > 文件 部分下载单个文件,只需浏览到你的存储桶并选择文件即可。

🌐 You can download individual files directly from the Storage > Files section of the Dashboard by browsing to your bucket and selecting files.

使用 Supabase CLI #

🌐 Using the Supabase CLI

你可以使用 supabase storage 命令来列出并复制你关联项目中的对象。

🌐 You can use the supabase storage commands to list and copy objects from your linked project.

查看命令行参考了解可用的命令。

🌐 See the CLI reference for available commands.

使用兼容S3的客户端 #

🌐 Using an S3-compatible client

Supabase Storage 提供了一个兼容 S3 的端点,这意味着你可以使用像 Cyberduck(通过连接配置文件)、AWS CLI 或 rclone 这样的工具来浏览和下载你的文件。

🌐 Supabase Storage exposes an S3-compatible endpoint, which means you can use tools like Cyberduck (via a connection profile), AWS CLI, or rclone to browse and download your files.

连接方式:

🌐 To connect:

  1. 去仪表板的 存储 > 配置 > S3 部分。
  2. 启用 S3 协议并生成一个访问密钥 + 密钥对(立即保存,因为它只显示一次)。
  3. 使用你的 S3 兼容工具,配合从仪表板获取的端点和凭证。

查看 S3 认证文档 获取完整的连接详情。

🌐 See the S3 authentication doc for full connection details.

使用迁移脚本 #

🌐 Using migration scripts

对于批量下载或项目迁移,你可以使用我们迁移文档中的脚本:

🌐 For bulk downloads or project migrations, you can use the scripts from our migration docs:

  • Node.js 脚本 — 请参阅 迁移指南 中的“迁移存储对象”
  • Google Colab 脚本 — 参见 仪表板恢复指南 中的“将存储对象迁移到新项目的 S3 存储”

文件元数据 #

🌐 File metadata