-----Original Message----- From: Casey Duncan [mailto:casey@zope.com] Sent: Friday, November 01, 2002 2:06 PM To: Charlie Reiman; Dieter Maurer Cc: zope@zope.org Subject: Re: [Zope] Programmatic creation/update of ZSQL methods
On Friday 01 November 2002 04:44 pm, Charlie Reiman wrote:
Got PUT_factory working. For those interested, here's my current PUT_factory. I also found a typo in my xml test but fixing it didn't help. I still can't create ZSQLMethods via xmlrpc. But now it doesn't bother me so much.
You might be able to if you send a request to:
folder.manage_addProduct['ZSQLMethods'].manage_addZSQLMethod( name, '', dba, params, body)
Did you try that?
-Casey
No, that doesn't work. I'm not sure how it would from an xmlrpc client, although I think it probably would from within Zope. If you mean I should add this to zope then call that via xmlrpc: that probably work but I can already create the object via HTTP by faking the form submission. If I need to add a crutch to zope to make XMLRPC do what I can already do via HTTP without a crutch, then I'd rather use HTTP. Thanks for everyone's help but I think the FTP solution is superior in this case since I don't have to delete any existing objects before uploading. This makes my upload script a little easier and probably faster.