Code Exemple:
gsutil cp "http://www.exemple.com/file.txt" "gs://bucket/"
In the Google Cloud console, go to the Cloud Storage Buckets page. In the list of buckets, click on the name of the bucket that you want to upload an object to. In the Objects tab for the bucket, either: Drag and drop the desired files from your desktop or file manager to the main pane in the console.
Click on "Remote Upload" in Google Drive tab to trigger the upload file via URL link window. In the pop up window, enter/paste the source file URL link address.
Select All Settings > Raw Data Export > CSV Upload. Select Google Cloud Storage from the dropdown menu. Upload your Service Account Key credential file. This is the JSON file created in the Google Cloud Console. Enter your Google Cloud Storage bucket name.
Options for generating a signed URL Simply specify Cloud Storage resources, point to the host storage.googleapis.com , and use Google HMAC credentials in the process of generating the signed URL.
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
There is Cloud Storage Transfer Service with an option to upload list of URLs though not very simple and more batch-oriented.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With