[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: Max file size using Upload component [auf Viren geprueft]
From:       Diego <diego.foo () gmail ! com>
Date:       2004-11-30 14:36:03
Message-ID: bdb191310411300636464557f5 () mail ! gmail ! com
[Download RAW message or body]

Thanks Jonathan, thats whas the answer i was looking for.

Regards 
Diego


On Tue, 30 Nov 2004 11:48:22 +0000, Jonathan O'Connor
<jonathan.o'connor@xcom.de> wrote:
> Diego,
> We just set max file size to -1. Meaning no limit checking. Then in our
> upload page, we check the IUploadFile.getSize() against our real limit.
> Yes, this means your server will sit around reading in a 100Mb file. But,
> this file will be automatically deleted when the IUploadFile is destroyed.
> Also, the apache file upload jar only uses 1K of RAM while it is reading
> the file.
> 
> We tried other solutions, like setting max Upload Size to 1Mb, but when it
> was over 30K the server seemed to hang. It may be a bug in Windows. We
> never got around to testing it under Linux.
> 
> Hope this helps,
> Jonathan O'Connor
> XCOM Dublin
> 
> 
> Diego <diego.foo@gmail.com>
> 30/11/2004 10:57
> Please respond to
> "Tapestry users" <tapestry-user@jakarta.apache.org>
> 
> To
> Tapestry users <tapestry-user@jakarta.apache.org>
> cc
> 
> Subject
> Re: Max file size using Upload component [auf Viren geprueft]
> 
> 
> 
> 
> Hello Jonathan,
> 
> Did search the archives (of cource) but did not find a answer.
> 
> Maybe i should reformulate my question: if I don't  set a max file
> size (size = -1) , can a user send a file of 100Mb or will there be
> other limitations?
> 
> Regards
> Diego
> 
> On Mon, 29 Nov 2004 16:11:51 +0000, Jonathan O'Connor
> <jonathan.o'connor@xcom.de> wrote:
> > Diego,
> > There are problems with setting the default max size. Do a search on
> this
> > mail list for "upload default max size" and I think you will find out
> > everything.
> > Ciao,
> > Jonathan O'Connor
> > XCOM Dublin
> > 
> > Diego Foo <diego.foo@gmail.com>
> > 29/11/2004 15:53
> > Please respond to
> > "Tapestry users" <tapestry-user@jakarta.apache.org>
> > 
> > To
> > tapestry-user@jakarta.apache.org
> > cc
> > 
> > Subject
> > Max file size using Upload component [auf Viren geprueft]
> > 
> > Hello,
> > 
> > I have a question about the upload component,  i know that there is a
> > default max file size of 10Mb, but when you remove this what would be
> > the max size of a file to be uploaded? And if there are limitations
> > what could they be.
> > 
> > Regards,
> > Diego
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > 
> > *** XCOM AG Legal Disclaimer ***
> > 
> > Diese E-Mail einschlie?lich ihrer Anhange ist vertraulich und ist allein
> fur den Gebrauch durch den vorgesehenen Empfanger bestimmt. Dritten ist
> das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir
> bitten, eine fehlgeleitete E-Mail unverzuglich vollstandig zu loschen und
> uns eine Nachricht zukommen zu lassen.
> > 
> > This email may contain material that is confidential and for the sole
> use of the intended recipient. Any review, distribution by others or
> forwarding without express permission is strictly prohibited. If you are
> not the intended recipient, please contact the sender and delete all
> copies.
> > 
> > 
> 
> ---------------------------------------------------------------------
> 
> 
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> *** XCOM AG Legal Disclaimer ***
> 
> Diese E-Mail einschlie?lich ihrer Anhange ist vertraulich und ist allein fur den \
> Gebrauch durch den vorgesehenen Empfanger bestimmt. Dritten ist das Lesen, \
> Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete \
> E-Mail unverzuglich vollstandig zu loschen und uns eine Nachricht zukommen zu \
> lassen. 
> This email may contain material that is confidential and for the sole use of the \
> intended recipient. Any review, distribution by others or forwarding without \
> express permission is strictly prohibited. If you are not the intended recipient, \
> please contact the sender and delete all copies. 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic