Arijit,

I checked your code, its similar to what we have
written code similar to yours. It is the code from the
commons fileupload site only.

Only thing is that we are not checking for
isMultipartRequest. Will that be causing this huge
difference that we have problems for 60MB and your
upload of size till 2GB is working fine?

Regards,

--- Arijit Mukherjee
<[EMAIL PROTECTED]> wrote:

> I've been able to upload files almost upto 2GB. I'm
> stuck at files >
> 2GB, and I suspect it's because of the native O/S
> and not a commons
> fileupload problem.
> 
> Cheers
> Arijit 
> 
> >-----Original Message-----
> >From: Leena Kulkarni
> [mailto:[EMAIL PROTECTED] 
> >Sent: 03 October 2006 11:53
> >To: commons-user@jakarta.apache.org
> >Subject: [fielupload] how much big size file can be
> handled?
> >
> > Hi Friends,
> >
> >I have few questions about the commons file upload.
> >
> >1) Is commons file upload suitable for uploading
> >files>10MB in size?
> >What we have observed that commons file upload load
> a file in 
> >memory. So for files > 10MB the deply in response
> is too much.
> >Is this right? Is there something we are missing?
> >Is there any other good variation of commons file
> upload if we 
> >have to use it for uploads upto 30MB?
> >
> >2)When we try uploading a file>40MB, we are getting
> Items list as 0.
> >So there is nothing to iterate on and check if it
> is a file.
> >
> >Code is like the following:
> >// Create a new file upload handler
> >ServletFileUpload upload = new
> >ServletFileUpload(factory);
> > 
> >// Parse the request
> >List /* FileItem */ items =
> >upload.parseRequest(request);  
> > 
> >// Process the uploaded items
> >Iterator iter = items.iterator();
> >while (iter.hasNext()) {
> >    FileItem item = (FileItem) iter.next();
> > 
> >    if (item.isFormField()) {
> >        processFormField(item);
> >    } else {
> >        processUploadedFile(item);
> >    }
> >}
> >
> >We trapped this scenario and added code to show
> some 
> >customized error when Items are 0. But then it
> takes agaes to 
> >display the error message on screen when from the
> logs we can 
> >make out that the control did go till the point of
> displaying 
> >the error message to screen.
> >
> >Do not know why this behaviour for large files
> [>40MB]. It can 
> >be good to know the some threshold at which such
> error occurs 
> >and if it is a known problem with commons
> fileupload.
> >
> >Regards,
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection 
> >around http://mail.yahoo.com 
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to