If you are connecting through an HTTP proxy, there are sometimes limitations of the request size of a POST request. Are you trying this on a client machine on the same physical network as your Zope server, without any proxy (transparent or otherwise) standing in the way to broker the HTTP connection? Sean -----Original Message----- From: Gitte Wange [mailto:gitte@mmmanager.org] Sent: Monday, August 13, 2001 4:29 AM To: zope@zope.org Subject: [Zope] HTTP upload - filesize limit Hello, I have created a product in Zope which is based on external files. The problem is that everything works okay if I upload a file with a filesize of 10 MB. But it fails if I upload a file with a filesize of 18 MB. When I worked with PHP there was a limit in the php.ini file where you set the maximum size of an uploaded file. Does the same work for python/Zope or is it something else that is wrong ? Regards, -- Gitte Wange Jensen Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org Quote of the day: ..Unix, MS-DOS, and Windows NT (also known as the Good, the Bad and the Ugly). - Matt Welsh _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hmm... you've got a point. Our server is located elsewhere sp no - it's not on the same network. We are using apache in front of Zserver and ProxyPass to redirect to the zope sites. Got a hint/solution? I'm stuck. Regards, Gitte Wange At 09:38 13-08-2001 -0700, you wrote:
If you are connecting through an HTTP proxy, there are sometimes limitations of the request size of a POST request. Are you trying this on a client machine on the same physical network as your Zope server, without any proxy (transparent or otherwise) standing in the way to broker the HTTP connection?
Sean
-----Original Message----- From: Gitte Wange [mailto:gitte@mmmanager.org] Sent: Monday, August 13, 2001 4:29 AM To: zope@zope.org Subject: [Zope] HTTP upload - filesize limit
Hello,
I have created a product in Zope which is based on external files. The problem is that everything works okay if I upload a file with a filesize
of 10 MB. But it fails if I upload a file with a filesize of 18 MB.
When I worked with PHP there was a limit in the php.ini file where you set the maximum size of an uploaded file.
Does the same work for python/Zope or is it something else that is wrong ?
Regards,
-- Gitte Wange Jensen
Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark
Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org
Quote of the day: ..Unix, MS-DOS, and Windows NT (also known as the Good, the Bad and the Ugly).
- Matt Welsh
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Tue, 14 Aug 2001, Gitte Wange wrote:
We are using apache in front of Zserver and ProxyPass to redirect to the zope sites.
Very probably, Apache is configured to limit size and time; hence it limits POST size. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Hi Gitte, I am doing something similar and hadn't yet had any problems with file size... So, I tried uploading a really huge file and sure enough, it choked. I store the uploaded files on the filesystem with LocalFS. When the file upload died, there was a tiny file on the file system with the name of the file that I tried to upload. I did a bit of tweaking of Apache's TimeOut directive in the httpd.conf file and found I can control when the file transfer will die by changing that value. In general, the upload stops about 4 seconds (an *old* machine here :) after the timeout time is reached. So, I'm assuming that the TimeOut value just needs to be bumped up a bit, depending on what you perceive to be a max file size and minimum transfer speed. I hope this helps. Eric.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Oleg Broytmann Sent: Monday, August 13, 2001 12:13 PM To: Gitte Wange Cc: Zope Mailing List Subject: RE: [Zope] HTTP upload - filesize limit
On Tue, 14 Aug 2001, Gitte Wange wrote:
We are using apache in front of Zserver and ProxyPass to redirect to the zope sites.
Very probably, Apache is configured to limit size and time; hence it limits POST size.
Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Eric Walstad -
Gitte Wange -
Oleg Broytmann -
sean.upton@uniontrib.com