Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to transfer files from GCP bucket to and shared drive (share drive is not on Goggle cloud)?

I want to transfer the files from Google cloud storage (GCP bucket) to shared drive which is not on Google cloud. what are the right possible ways?

Regards,

Rakesh

Solved Solved
0 11 9,341
1 ACCEPTED SOLUTION

I'm guessing that you can perform a Windows share over the Internet.  A post here seems to say its possible although not recommended.   If you choose not to have the windows share accessed over the Internet but you still want Google Cloud to push rather than your windows machine pull, then there has to be some mechanism on your windows machine to receive the request to bring in the files when Google Cloud chooses to push them to you.   One notion that comes to mind is to install an SFTP server on a local machine which can write to the Windows Share.  An example of such a server seems to be described here.  You would then create some SSH keys and give the public key to the SFTP server and keep the private key on your Cloud Compute.  Your Cloud Compute could then perform an sftp client connection to your windows machine to push the data.

While thinking of this train of thought, I came across this article:

How to use GCP bucket data on windows file system

which seems to list a number of other stories for accessing GCS storage from windows.   These stories don't appear to be the same as copying files from the GCS buckets to a local share but instead provide stories for accessing GCS buckets as though they were windows accessible.  This is neither push nor pull (since we aren't copying) but rather access on demand.

View solution in original post