我无法将大文件(大于2GB)上传到Google Cloud Storage网络用户界面 [英] I cannot upload large (> 2GB) files to the Google Cloud Storage web UI

查看:151
本文介绍了我无法将大文件(大于2GB)上传到Google Cloud Storage网络用户界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在 Google API控制台上使用Google Cloud Storage Manager链接以便上传我的文件.

I have been using the Google Cloud Storage Manager link on the Google APIs console in order to upload my files.

这适用于大多数文件:1KB,10KB,1MB,10MB,100MB.但是昨天我无法上传3GB的文件.知道有什么问题吗?

This works great for most files: 1KB, 10KB, 1MB, 10MB, 100MB. However yesterday I could not upload a 3GB file. Any idea what is wrong?

将大文件上传到Google Cloud Storage的最佳方法是什么?

What is the best way to upload large files to Google Cloud Storage?

推荐答案

Web UI仅支持小于2 ^ 32字节(4 GB)的上传.我相信这是一个JavaScript限制.

The web UI only supports uploads smaller than 2^32 bytes (4 GigaBytes). I believe this is a javascript limitation.

如果您需要传输许多文件或大文件,请考虑使用 gsutil :

If you need to transfer many or large files consider using gsutil:

  1. GSUtil上传和下载任何大小的文件.
  2. GSUtil 恢复上传 MD5校验和来验证每个内容文件已正确传输.
  3. GSUtil可以同时上传和下载许多文件.
    • gsutil -m cp /path/to/*thousands-of-files* gs://my-bucket/*
  1. GSUtil uploads and downloads any size file.
  2. GSUtil resumes uploads and resumes downloads that fail part way through.
  3. GSUtil calculates the MD5 checksum to verify the contents of each file transferred correctly.
  4. GSUtil can upload and download many files at the same time.
    • gsutil -m cp /path/to/*thousands-of-files* gs://my-bucket/*

这篇关于我无法将大文件(大于2GB)上传到Google Cloud Storage网络用户界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆