I did not understand why people was replying the same answer as I did.
That's simple: I did not reply to the mailing list ;)
---------- Forwarded message ----------
From: Patrick DECAT <[EMAIL PROTECTED]>
Date: Thu, 31 Mar 2005 11:50:56 +0200
Subject: Re: [Zope-dev] zope /tmp file usage
To: Pavel Zaitsev <[EMAIL PROTECTED]>
when files are uploaded with WebDAV, they are part of an HTTP PUT request.
If the file is larger than LARGE_FILE_THRESHOLD, a temporary file is
created by the zhttp_collector in HTTPServer.py
def __init__(self, handler, request, size):
from ZServer import LARGE_FILE_THRESHOLD
self.handler = handler
self.request = request
if size > LARGE_FILE_THRESHOLD:
# write large upload data to a file
from tempfile import TemporaryFile
self.data = TemporaryFile('w+b')
self.data = StringIO()
On Thu, 31 Mar 2005 01:52:11 -0500, Pavel Zaitsev <[EMAIL PROTECTED]> wrote:
> I am wondering what code in Zope 2.7.5-final potentially may use /tmp
> directory for temprorary files.
> I am using zope over webdav and sometimes webdav tries to create a tmp
> file, of some sort and some parts of
> the system lock up. There are xml parsers,mime decoders all of which do
> have binary code bits, so I asking for expert
> advice, if someone knows of what circuimstances zope would use /tmp
> directory to create a file...
> your help will be greatly appreciated.
> Zope-Dev maillist - Zope-Dev@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -