It should work. If you look at the example at http://code.google.com/appengine/docs/python/blobstore/overview.html#Complete_Sample_App, you see the HTML code has the following snippet: """ <input type="file" name="file"> """ which is then used to extract the blob information: """ upload_files = self.get_uploads('file') """
So what you can do is add multiple '<input type="file">' form controls (but using different 'name' attributes) . Then, if you don't set the "field_name" parameter (in this case 'file'), get_uploads() will return blob information for all uploaded files. Or you can manually extract the blob information for every single input control from the HTML using the corresponding 'name' attribute value. cheers, robert On Sun, Jan 16, 2011 at 9:54 AM, Jawon <[email protected]> wrote: > Hi, > I want to upload multiple, varying number of blobs with a single POST > request. It seems that as of April of last year, this wasn't > supported, and someone has posted a JavaScript workaround: > > http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-the-Blobstore-API-part-3-Multiple-upload-support > . > > I couldn't find any information on the official GAE docs as to whether > or not this is still the case. Before I dive into the workaround > above, could someone confirm that GAE still does not support multiple > blob uploads? > > Thanks, > Jawon > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
