17 Mar
2003
17 Mar
'03
8:36 p.m.
Chatton Sylvain wrote at 2003-3-17 10:37 GMT:
I'm searching the way to read the content of a file (ascii), from a script. The file is stored into a Zope folder.
"OFS.Image.File" objects return their content via "str". Thus, when you convert a File object into a string, you get the file content). This is not true for the derived class "Image". You can use the "read" method in both cases. Dieter