问题
Code Exemple:
gsutil cp "http://www.exemple.com/file.txt" "gs://bucket/"
回答1:
You can stream the output of curl to the gsutil cp command as follows:
curl http://www.example.com/file.txt | gsutil cp - gs://bucket/file.txt
回答2:
There is Cloud Storage Transfer Service with an option to upload list of URLs though not very simple and more batch-oriented.
来源:https://stackoverflow.com/questions/18107545/can-i-upload-files-to-google-cloud-storage-from-url