Images through XML-RPC
Anyone know if it is possible to send images, or other file data through xml-rpc? I've been working a lot with the xml-rpc funtionality of zope and it's a lot of fun. I have some seperate python/Tkinter scripts that I'm playing with that all communicate using it. Can I wrap files somehow and work with them in ZODB using xml-rpc? For example, a client has an image on the local machine. Can I make a rpc call to a python method and save it in the zodb as a zope image? I would probably need PIL on both sides? Any thoughts on this? thx -ed- -- Green Graphics ::: Print and Web Design ::: 510.923.0000
Anyone know if it is possible to send images, or other file data through xml-rpc?
Yep just base64 encode / decode it at either end. -- Andy McKay @gmweb Consulting http://www.agmweb.ca
On Monday 05 Aug 2002 1:19 am, Andy McKay wrote:
Anyone know if it is possible to send images, or other file data through xml-rpc?
Yep just base64 encode / decode it at either end.
You might be interested in a patch in the collector to do this automatically for Zope File/Image objects. This patch will be considered for Zope 2.7
participants (3)
-
Andy McKay -
Ed Colmar -
Toby Dickenson