[Zope] Upload, read() and a rather unexpected persistence

Tim Hicks tim@sitefusion.co.uk
Fri, 5 Jul 2002 15:18:03 +0100


> I just found out that it is impossible to use File.read(20000) twice 
> even in separate scripts, because Zope remembers the file position.

You can use File.seek(0) to get back to the start again.

tim