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