It might be nice for blobstoreService.getUploadedBlobs(req) to return
a com.google.common.collect.Multimap<String, BlobKey> but it is
probably too late to change that method of the API.

On Aug 10, 1:06 pm, Dan Dubois <uvico...@gmail.com> wrote:
> Dear All,
>
> I would like to upload multiple files to my Blobstore using HTML5's
> multiple file upload feature.
>
> <input type="file" multiple name="myfiles" ....>
>
> However, on Safari at least, I imagine each file that is uploaded will
> be attributed with the same name "myfiles".
>
> Therefore Map<String, BlobKey> blobs =
> blobstoreService.getUploadedBlobs(req); does not work as Map keys must
> be unique so only one Map.Entry will be in the Map as the others will
> get overwritten.
>
> I can see on my dev server that all my files are actually uploaded to
> the Datastore.
>
> Is there a way around this?
>
> I guess either Safari hasn't implemented "multiple" of HTML5 properly
> or the BlobstoreService API needs to be changed to cater for the new
> HTML5 feature...
>
> Best wishes,
> Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to