On Friday 22 February 2002 05:36 pm, you wrote:
> Does it work with large files? Say, 700Mb?

Haven't tested it, i also used the orginal max upload size which is 10MB.
Furthermore there are no build in limitations to the upload size so it
*should* work but i don't know how well the VM handles arrays of that size.

Jeroen

>
> Vadim
>
> > -----Original Message-----
> > From: root (by way of Jeroen ter Voorde <[EMAIL PROTECTED]>)
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 22, 2002 1:36 PM
> > To: [EMAIL PROTECTED]
> > Subject: replacement for maybeupload
> >
> > Hi,
> >
> > This is a replacement for the maybeupload request wrapper which i
>
> needed for
>
> > our project. Instead of directly writing files to the upload dir the
>
> files
>
> > are kept in the request object and can be manually stored by an
>
> action.
>
> > Improvements:
> > - More control over file attachments
> > - Multiple upload dirs (configurable in sitemap)
> > - One less optional package (i'd like the code to be put in the
>
> standard
>
> > distro under the apache license).
> >
> > The following files are added / changed:
> >
> > org.apache.cocoon.environment.http
> > - removed MaybeUpload wrapper
> > - modified RequestWrapper2? to use new code
> >
> > org.apache.cocoon.environment.http.multipart
> > - the parser and helper classes
> >
> > org.apache.cocoon.acting
> > - added UploadAction
> >
> > src/webapp:
> > - modified sitemap.xmap to use upload action for upload example
> >
> > src/webapp/docs/xsp/upload.xsp
> > - modified to use upload action and removed code to list uploaded
>
> files
>
> > (because the uploadDir constant no longer exists)
> >
> > build.xml:
> > - removed MaybeUpload stuff
> >
> > I've tested the code using the upload example with:
> > - Internet Explorer 6.0 (win 98)
> > - Konqueror 2.2 (linux)
> > - Mozilla 0.9.5 (linux)
> >
> > I've also tested opera 5 (linux) but, although the code works, opera
>
> does not
>
> > post the submit field and thus the action is not executed. (I've
>
> verified
>
> > this using the database examples which also didn't work).
> >
> > The patch is made against the 2.0.1 release and is divided into two
>
> parts:
> > the source patch (multipart-src-patch) and the build.xml patch
> > (multipart-build.xml-patch) which can both be applied using patch -p1
>
> <
>
> > multipart-*-patch in the cocoon 2.0.1 directory.
> >
> > Jeroen ter Voorde
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to