user3737020
user3737020

Reputation: 514

How to upload data to Google Cloud Storage Automatically

I want to upload data from my local to oogle Cloud Storage, but I can't find any Java sample code describing how to do this. Would someone please give me some hint as how to do this? Thanks in advance.

Upvotes: 2

Views: 1640

Answers (2)

Rahul Sharma
Rahul Sharma

Reputation: 347

You have to make use of Google Cloud Storage Java API. This might help you. https://developers.google.com/appengine/docs/java/googlestorage/ https://developers.google.com/cloud/samples/photofeed/uploadphotos

Upvotes: 2

Moshe Shaham
Moshe Shaham

Reputation: 15994

You need to somehow make the files accessible to the app. Then, simply fetch it and save to cloud storage.

Upvotes: 0

Related Questions