[Zope] add file system image from ExternalMethod
Dieter Maurer
dieter@handshake.de
Tue, 6 Aug 2002 21:04:34 +0200
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