On Wed, 20 Nov 2002, Eddie Bush wrote:
> Brian Hickey wrote: > > >Martin is correct :o) > > > >Also be aware that very very large files can exceed the setting of Java temp > >space (memory) allocation is some containers and crash them. > > > >One approach that works is to write a simple file upload script in Perl. > >This allows you to check content-type, size, etc. and reject the upload > >before trouble happens. It is also platform independent to a "reasonable" > >degree. > > > Unless I'm mistaken, the commons file-upload component can do this too. > Am I mistaken? Commons FileUpload has a size threshold below which a part is retained in memory, and above which it is streamed to disk, to prevent memory issues. It also has another size threshold that determines the maximum total size of a request that it will accept, beyond which it will throw up its hands and refuse to process the request at all. -- Martin Cooper > > >Just another $.02 worth... > > > >Brian > > > -- > Eddie Bush > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

