Re: AW: [Zope-dev] FileUpload and blob on Windows

2008-01-29 Thread Christian Theune
Hi, Leonardo Rochael schrieb: If only there was a flag so that Windows allowed renaming/removing an open file, but didn't try to remove the file itself after it was closed... Actually looking at the restrictions that hard links have on windows, I guess that windows removes the equivalent of t

Re: AW: [Zope-dev] FileUpload and blob on Windows

2008-01-29 Thread Leonardo Rochael
Roger Ineichen wrote: > > Why are you using a NamedTemporaryFile? If I'm right the > goal is to store the file stream from the upload directly > in this file and copy this file over to the real directory > location. > This means you can cut down the amount of read and write file data, right? >