我无法将大 (> 2GB) 文件上传到 Google Cloud Storage 网络用户界面 [英] I cannot upload large (> 2GB) files to the Google Cloud Storage web UI
本文介绍了我无法将大 (> 2GB) 文件上传到 Google Cloud Storage 网络用户界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I have been using the Google Cloud Storage Manager
link on the Google APIs console in order to upload my files.
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?
What is the best way to upload large files to Google Cloud Storage?
解决方案
The web UI only supports uploads smaller than 2^32 bytes (4 GigaBytes). I believe this is a javascript limitation.
If you need to transfer many or large files consider using gsutil:
- 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/*
这篇关于我无法将大 (> 2GB) 文件上传到 Google Cloud Storage 网络用户界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文