I cannot upload large (> 2GB) files to the Google Cloud Storage web UI

前端 未结 2 386
予麋鹿
予麋鹿 2021-01-13 19:14

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, 10

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-13 19:47

    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:

    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/*

提交回复
热议问题