Re: [google-appengine] Upload .mp3 file in Google Cloud Storage using Java client JSON API.

2015-09-25 Thread Ryan (Cloud Platform Support)
Salutations Uttam, Without knowing more about what you are trying to do high level and what errors you have it is difficult to help. From what I understand you need: - The example you linked you can set the content type for the uploadStream - You should use 'audio/mpeg'

Re: [google-appengine] Upload .mp3 file in Google Cloud Storage using Java client JSON API.

2015-09-25 Thread Uttam Agarwal
Thanks Les for reply. I found a link (https://cloud.google.com/storage/docs/json_api/v1/json-api-java-samples) where it shows how to upload file in my bucket in Google Cloud Storage. But problem is in this example they show how to upload txt file (content-type=text/plain) in bucket. I found

Re: [google-appengine] Upload .mp3 file in Google Cloud Storage using Java client JSON API.

2015-09-25 Thread 'Les Vogel' via Google App Engine
I've uploaded files using the Java client library JSON API to GCS. On Fri, Sep 25, 2015 at 5:06 AM, Uttam Agarwal wrote: > Hi > > Is it possible to upload a mp3 file (audio file) in Google Cloud Storage > using Java client library. > > I can access my bucket from Cloud Storage and can read the c

[google-appengine] Upload .mp3 file in Google Cloud Storage using Java client JSON API.

2015-09-25 Thread Uttam Agarwal
Hi Is it possible to upload a mp3 file (audio file) in Google Cloud Storage using Java client library. I can access my bucket from Cloud Storage and can read the content of my bucket using Java client library JSON API. But i want to upload a mp3 file in my bucket in cloud storage using Java