The appengine gcs client: https://code.google.com/p/appengine-gcs-client/
has no size restriction. If you want to upload to/from appengine it is the
prefered solution.
If you want users to upload and download externally the prefered solution
is to use createUploadUrl:
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobstoreService#createUploadUrl(java.lang.String,
com.google.appengine.api.blobstore.UploadOptions)
for uploading data and serve:
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobstoreService#serve(com.google.appengine.api.blobstore.BlobKey,
HttpServletResponse)
for download.

The advantage of createUploadUrl and serve over having the user post and
get from the bucket directly (Which of course works) is that it allows your
application to have more control as you can run code in response to each
request which lets you do things like custom permissions, logging, rate
limiting etc.



On Wed, Nov 6, 2013 at 5:59 AM, Vinny P <vinny...@gmail.com> wrote:

> On Tue, Nov 5, 2013 at 3:56 PM, Pushpinder Jaswal <
> pushpinder.jas...@gmail.com> wrote:
>
>> I would like to know the best API and practices for this purpose, also
>> how should I proceed in this scenario for example have a client to add
>> objects through App Engine to cloud storage or directly add objects to
>> cloud storage. (I would like to mention that the objects that I am talking
>> about would be more than 32 Mb in size.)
>>
>>
>
> Both options are fine, but the better option would probably be to add
> objects through the App Engine service. You can use the Blobstore upload
> handler to write to GCS. Also, this way there is one central point to
> manage permissioning, bucket management, etc.
>
> Larger than 32MB files are fine, just note that you'll have to use
> Blobstore upload and serving options.
>
>
> On Tue, Nov 5, 2013 at 3:56 PM, Pushpinder Jaswal <
> pushpinder.jas...@gmail.com> wrote:
>
>> I would like have options to maintain the permissions and deleting
>> buckets as well.
>>
>
>
> That can be easily done through the XML/JSON Cloud Storage API, or by
> using the Java client library.
>
>
> -----------------
> -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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to