6 Aug
2002
6 Aug
'02
7:04 p.m.
Ruslan Spivak writes:
How can I add an image, located in file system, from ExternalMethod to zope folder? You read the file from the file system (hopefully, its the file system of the server?) (use Python's "open" to open the file and then the "read" method to read the file).
Then you pass the content as the "file" argument to "manage_addImage". If your image is really large, this will not be the best method. Dieter