Re: [Zope] Precondition on images saved in a localfs folder
Bruno Grampa wrote at 2006-1-10 23:42 +0100: if i upload an image in the ZOBD as a file i have the precondition if i do the same in the localfs folder no. Do you know why? The files in an localfs folder are only temporarily wrapped as Zope objects. The wrapper is destroyed at the request end. You cannot store persistent data on them (e.g. a precondition). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Precondition on images saved in a localfs folder
Hello, if i upload an image in the ZOBD as a file i have the precondition if i do the same in the localfs folder no. Do you know why? It seems LocalFs will always recognise the file uploaded as an image... Thanks, Bruno ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )