Hi Martin, Yes, I used RequestDispatcher.forward to redirect to the blobstore URL. Yes, I had to rewrite the request using HttpServletRequestWrapper to set the "Content-Type" header to multipart-form-data and set the body data. Unfortunately, this only worked on the development server, when deployed I ran into this issue:
http://code.google.com/p/googleappengine/issues/detail?id=3241 Now, I got it working by sending a new request to the blobstore URL using the URL Fetch API. Sadly, the 1MB limit now applies to these requests. Lucian On Wed, Sep 29, 2010 at 6:25 PM, Martin Bayly <martin.ba...@gmail.com>wrote: > Hi Lucian > > Can you give some more details on how you worked around this issue. Did > you use a RequestDispatcher.forward to redirect your dropbox request server > side to the blob upload url. Presumably you had to rewrite the request data? > Was your original request in mulitpart/form-data or did you have to > construct that server side too? Or some other mechanism? > > Our app is also going to be affected by this issue. Our app has some tasks > managed on the task queue that will need to write files > 1MB to the > blobstore. > > > Really wish Google would sort out this issue. > There is a BlobstoreInputStream interface for reading from the Blobstore > serverside, so why not a BlobstoreOutputStream for writing to the Blobstore > from our apps. Seems crazy that the only way we can serve large files is > directly from the blobstore, but our apps cannot get the files in there > easily. > > Thanks for any info you can give. > Martin > > -- > 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<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- 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.