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' <http://stackoverflow.com/questions/12017694/content-type-for-mp3-download-response> - To create a file stream on an mp3 you should read Jon Skeet's post. <http://stackoverflow.com/a/4280585/3877822> On Friday, September 25, 2015 at 10:09:14 AM UTC-4, Uttam Agarwal wrote: > > > 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 that for mp3 file, content type is audio/mpeg. But i can't > understand how i read mp3 file for InputStreamContent ? > Can you please give me a soultion? > > Thanks > > Uttam > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9abc8732-8d26-4451-ad19-d9ba3b4dd40f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.