Re: [google-appengine] Re: upload image into google app engine

2014-03-11 Thread Vinny P
On Tue, Mar 11, 2014 at 12:36 AM, hitesh jain hiteshi...@gmail.com wrote:

 I forgot to mention, I am looking for free solution , Google cloud storage
 is paid one from single byte storage. What if I use deprecated File API to
 deal with blob store.



You can do that, but the Files API is deprecated for a reason: it's not as
reliable as the Cloud Storage option.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: upload image into google app engine

2014-03-11 Thread Gianni Di Noia
2014-03-11 13:15 GMT+01:00 Vinny P vinny...@gmail.com:

 On Tue, Mar 11, 2014 at 12:36 AM, hitesh jain hiteshi...@gmail.com
  wrote:

  Google cloud storage is paid one from single byte storage.


GCS has a 5gb free quota for the only default bucket.. http://goo.gl/KT4gQz

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: upload image into google app engine

2014-03-11 Thread PK
I had seen no issue with the Files API but you should not use it because it is 
deprecated. GCS is the future and seems to be working fine too.

PK
http://www.gae123.com

On March 11, 2014 at 5:38:22 AM, Gianni Di Noia (giann...@gmail.com) wrote:




2014-03-11 13:15 GMT+01:00 Vinny P vinny...@gmail.com:
On Tue, Mar 11, 2014 at 12:36 AM, hitesh jain hiteshi...@gmail.com wrote:

 Google cloud storage is paid one from single byte storage.

GCS has a 5gb free quota for the only default bucket.. http://goo.gl/KT4gQz
--
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.
For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: upload image into google app engine

2014-03-11 Thread Vinny P
On Tuesday, March 11, 2014 7:37:42 AM UTC-5, Giovanni Di Noia wrote:

 GCS has a 5gb free quota for the only default bucket



This is probably the better route.

Note that the default bucket for your application is generally *application-id 
. appspot . com* (no spaces), although you can also get the bucket name 
programmatically. For instance, the Go runtime has *file.DefaultBucketName*( 
https://godoc.org/code.google.com/p/appengine-go/appengine/file#DefaultBucketName
 ); 
in other runtimes you can collect the name of the default bucket by using 
the App Identity service.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: upload image into google app engine

2014-03-10 Thread hitesh jain
I forgot to mention, I am looking for free solution , Google cloud storage 
is paid one from single byte storage. What if I use deprecated File API to 
deal with blob store.

On Monday, March 10, 2014 1:40:09 PM UTC+5:30, hitesh jain wrote:

 Hi,

 I am making an restful call to my application which is deployed in google 
 app engine. I pass in the image url to the http request. I want to fetch 
 the image content from the URL and store the byte data into appengine. To 
 fetch the image data I can use 

 URLFetchService. 

 To store the image data which can be more than 1 mb what is the best way to 
 do that? In this datastore entity I think I can 
 store only 1MB byte array.
 Once image is stored then I want to get the url of that image so that it can 
 be accessed later on anytime.

 I have seen google blob store service but that expects HttpRequest as input 
 parameter and I will have to use the 
 httpclient api to create a POST request and submit to the upload url as 
 generated blobstoreService.createUploadUrl(/upload)

 Is there any other better way to do this?



-- 
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.
For more options, visit https://groups.google.com/d/optout.