Re: Base64 encoding project.newDocument?

[email protected]
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Quoting Helge Hess <[email protected]>:
 
> Hm, that should be transparent. I guess you are not submitting a 
> <base64> object but a <string>? You need to submit an XML-RPC data 
> object.

XMLRPC::Lite debug tells me I'm using <base64>

> Well, maybe newDocument() really has a bug, but if I see it right, 
> saveDocument() should definitely work.
> If it doesn't, and you are *SURE* that you are submitting a XML-RPC 
> <base64> tag (eg you can use -WOHttpAdaptor_LogStream YES), make a 
> bugreport.

Well... seems to me that saveDocument() is also not working. Maybe I'm wrong.
But I added bug #689.

> > is it possible have some kind of turn-around?
> 
> a) use ZideStore PUT/GET: this is much better suited for file stuff 
> anyway.
> b) create an empty document with newDocument(), then store the real
>     content with saveDocument()

Both methods have some kind of limitation, in the first case, infact you can not
set automatically attributes for the file you are uploading - would be really
nice to have a full xmlrpc implementation to do all job related to
document-handling also. The second one should be a nice workaround, but I was
_not_ able to make it work.

Regards, Luca.
-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.