maxPostSize and file upload

2004-06-02 Thread Ronald Klop
Hello,
Does the maxPostSize setting for the Connector in server.xml affect the max. size of a 
file upload?
Ronald.


Re: maxPostSize and file upload

2004-06-02 Thread Veniamin Fichin
Ronald Klop wrote:
Does the maxPostSize setting for the Connector in server.xml affect the 
max. size of a file upload?
   Since file upload occurs with POST method, yes it restricts upload 
file size.

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


Re: maxPostSize and file upload

2004-06-02 Thread Ronald Klop
Is it possible that this does not work?
The docs (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html) say that 
the default is 2MB, but I can download much larger files.
Is this a bug or a feature?
By the way: I upload using commons-fileupload.
Ronald.
On Wed Jun 02 14:04:45 CEST 2004 Veniamin Fichin [EMAIL PROTECTED] wrote:

Ronald Klop wrote:
Does the maxPostSize setting for the Connector in server.xml affect the
max. size of a file upload?
Since file upload occurs with POST method, yes it restricts upload
file size.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maxPostSize and file upload

2004-06-02 Thread Veniamin Fichin
Ronald Klop wrote:
Is it possible that this does not work?
The docs 
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html) say 
that the default is 2MB, but I can download much larger files.
Is this a bug or a feature?
   Don't know, I never used it. Additionally, I have no ajp.html file 
in my Tomcat-5.0.16 distribution, that's strange, 'cause online site has 
it. Try to set maxPostSize to 2Mb explicitlyto see if it will work.
   It was a long time ago when I read one article on PHP file upload 
where it was said that you can't determine a size of uploading data 
before it at least reaches defined limit, furthermore an error only 
arised when upload is finished regardless of its actual size (will it be 
100Mb or even 100Gb). But I may be wrong.

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


Re: maxPostSize and file upload

2004-06-02 Thread Ronald Klop
After rereading the docs I understand that the maxPostSize if for FORM URL 
parameter passing.
I think they mean the parameters in the form key1=val2key2=val2... So it is not for 
file upload I think, only for regular posts.
Unfortunately I don't have time to look in the source, but if somebody knows about 
this maybe the docs can be updated to be more verbose about this.
Ronald.
On Wed Jun 02 15:44:24 CEST 2004 Veniamin Fichin [EMAIL PROTECTED] wrote:

Ronald Klop wrote:
Is it possible that this does not work?
The docs
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html) say
that the default is 2MB, but I can download much larger files.
Is this a bug or a feature?
Don't know, I never used it. Additionally, I have no ajp.html file
in my Tomcat-5.0.16 distribution, that's strange, 'cause online site has
it. Try to set maxPostSize to 2Mb explicitlyto see if it will work.
It was a long time ago when I read one article on PHP file upload
where it was said that you can't determine a size of uploading data
before it at least reaches defined limit, furthermore an error only
arised when upload is finished regardless of its actual size (will it be
100Mb or even 100Gb). But I may be wrong.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]