You can enable multi-part upload on a per-blob basis with: BlobStore.putBlob(containerName, blob, new PutOptions().multipart());
On Wed, Apr 16, 2014 at 10:19:20AM +0530, Shital Patil wrote: > Hi, > I am trying to upload big images using *jclouds glance labs 1.8.0 and jdk > 1.7*. With jclouds glance we can upload small images. But when we try large > images it throws - > > java.lang.IllegalArgumentException: Cannot transfer 2 GB or larger chunks > due to JDK 1.6 limitations. Use chunked encoding or multi-part upload, if > possible. For more information: > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6755625 > EXception Cannot transfer 2 GB or larger chunks due to JDK 1.6 limitations. > Use chunked encoding or multi-part upload, if possible. For more > information: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6755625 > > > How to specify chunked upload option ? > How to do multi-part upload? > > Thank you -- Andrew Gaul http://gaul.org/
