Reputation: 1684
I wonder if one can upload a remote file into Google Storage without downloading it first into local storage. Basically what I would like to do is to pass a URL to the storage client and wait until it pulls the file. Thanks!
Upvotes: 0
Views: 944
Reputation: 3958
You should be able to use a google colaboratory instance to do this. You can download a file to the instance and then save it to your drive (though you have to "mount" the drive first). Then, you can save file from the instance to your drive. While this is still a 2-step process, it at least avoids having to transfer files to your local machine
Upvotes: 2