Hi Jeff,
You may look into a project called appengine-java-io located at
http://code.google.com/p/appengine-java-io/.
Below is the project introduction:
Google App Engine doesn't support Java IO writing operation natively.
The VObject AppEngine Java-IO is an open source project that intend
to port gaevfs to
java.io API to enable
java.io classes support in
Google App Engine (GAE) with Metaprogramming capability of the Groovy
Programming Language.
The Live Demo support multiple file upload (each one < 1M) and written
in Grails, unluckily it is facing server 500 error at the moment. The
example using Apache commons file upload component and it's streaming
API.
Full disclosure here, I am the project owner of appengine-java-io, if
you are interest to the source code of the Live Demo. please do let's
me know.
Wish to hear from you soon!
// Chee Kin
On May 23, 9:33 pm, Jeff Schwartz <
jefftschwa...@gmail.com> wrote:
> By the way, I just read the max upload size is 1 meg which wont be a
> problem as they are only going to be thumbnails.
>
> On 5/23/2010 1:08 AM, Soren Aalto wrote:
>
>
>
> > I think Apache commons will handle all this -- but my caveat,
> > I only got as far as doing a file upload on the dev server and
> > haven't yet deployed anything to appengine.
>
> > The details of the multipart form/encodings, etc, are fairly
> > hidden to the API user...I just copied from some examples
> > in the documentation & it seemed to work -- I got a file
> > to upload, parsed the CSV and stored it in the datastore.
>
> > 2010/5/23 Jeff Schwartz <
jefftschwa...@gmail.com
> > <mailto:
jefftschwa...@gmail.com>>
>
> > Hi Soren,
>
> > If I have a multi-part form and the form's action is upload.groovy
> > for instance, can I use the Apache libraries from within the
> > upload.groovy script to process the muti-part form data?
>
> > Also, I need to allow users to upload image files which I will not
> > allow to be larger than 4 meg. Do you think it is possible to
> > implement this considering the request timeout constraints that
> > appengine imposes or is this impossible on appengine?
>
> > Thanks in advance.
>
> > Jeff
>
> > 2010/5/22 Soren Aalto <
soren.aa...@gmail.com
> > <mailto:
soren.aa...@gmail.com>>
>
> > I did this recently using the Apache commons file upload stuff,
> > I think this is the typical way to do file uploads, but I'd
> > like to
> > hear if there's a better way.
>
> > On Sat, May 22, 2010 at 10:36 PM, Jeff Schwartz
> > <
jefftschwa...@gmail.com <mailto:
jefftschwa...@gmail.com>> wrote:
>
> > Hi Guillaume, all,
>
> > Does Gaelyk support file uploading as I can't seem to find
> > it in the docs. Is there a groovy/gaelyk way of doing this
> > without having to implement a class derived from
> > HttpServlet to route the request myself? Is there any
> > sample code somewhere? Thanks in advance.
>
> > --
> > Jeff
> > --
> > Vous recevez ce message, car vous êtes abonné au groupe
> > Google Groupes Gaelyk.
> > Pour envoyer un message à ce groupe, adressez un e-mail à
> >
gae...@googlegroups.com <mailto:
gae...@googlegroups.com>.
> > <mailto:
gaelyk%2Bunsu...@googlegroups.com>.
> > Pour plus d'options, consultez la page de ce groupe :
> >
http://groups.google.com/group/gaelyk?hl=fr
>
> > --
> > Soren Aalto
> > Director: ICT
> > University of Zululand
> > --
> > Vous recevez ce message, car vous êtes abonné au groupe Google
> > Groupes Gaelyk.
> > Pour envoyer un message à ce groupe, adressez un e-mail à
> >
gae...@googlegroups.com <mailto:
gae...@googlegroups.com>.
> > <mailto:
gaelyk%2Bunsu...@googlegroups.com>.
> > Pour plus d'options, consultez la page de ce groupe :
> >
http://groups.google.com/group/gaelyk?hl=fr
>
> > --
> > --
>
> > Jeff
> > --
> > Vous recevez ce message, car vous êtes abonné au groupe Google
> > Groupes Gaelyk.
> > Pour envoyer un message à ce groupe, adressez un e-mail à
> >
gae...@googlegroups.com <mailto:
gae...@googlegroups.com>.
> > <mailto:
gaelyk%2Bunsu...@googlegroups.com>.