Google cloud storage --- Upload and download a public bucket

Hello,

I have a question about Google Cloud Storage. A company wants to share some data with us. They want to upload the data in a cloud storage and then we download them.

My questions are:

1- Download the whole bucket by URL: Is it possible that the company upload many files and folders to a bucket, then make the bucket public, and then send it URL to us, so we can download the whole bucket. I mean the whole bucket not objects inside the bucket.

2- To download a public bucket with URL, do I need to have a Google Cloud account or just having a Gmail is enough?

3- With a URL for a public bucket, is it possible to download the whole bucket in one download action not object by object?

Thanks.

Hi,

To answer your questions:

  1. While it is possible to make a bucket public, this is not recommended as anyone who knows the bucket name would have access to it.

  2. To continue from the point above, perhaps you can restrict access to the bucket by using Google Groups by following the steps in the Using a group to control access document where the bucket owner can add the storage.objectViewer to your group. This allows you to use your Gmail.

  3. To download the objects/files in a bucket without downloading object-by-object, you can do so by downloading the gsutil tool locally. As long as you know the bucket name, you can use the cp command in your terminal:

gsutil cp gs://{bucket-name} {local_directory}