add file system image from ExternalMethod
5 Aug
2002
5 Aug
'02
4:08 p.m.
Hello zope, How can I add an image, located in file system, from ExternalMethod to zope folder? Thanks in advance Best regards, Ruslan mailto:alienoid@is.lg.ua
6 Aug
6 Aug
7:04 p.m.
New subject: [Zope] add file system image from ExternalMethod
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
8644
Age (days ago)
8645
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dieter Maurer -
Ruslan Spivak