[theme-reviewers] File upload using xml rpc

Joseph Scott joseph at automattic.com
Wed Jun 16 04:30:15 UTC 2010


There's a wp-xmlrpc email list that would be better suited for this question :-)

IXR includes a base64 class that takes care of doing the right thing -
http://scripts.incutio.com/xmlrpc/basic-server-construction.php


On Tue, Jun 15, 2010 at 6:38 PM, Cipr.vb <cypr.vb at gmail.com> wrote:
> I'm trying to upload a file to my blog using wp.uploadFile and xmlrpc.
> Can't make it work. Does anybody have a code example? I'm using IXR_Library
> for the xmlrpc. I'm guessing my mistake is the file contents (the bits).
> Does anyone now how exactly is that string supposed to be exactly? with
> base64 but how? any code example please? It's really frustrating as I've
> gotten to trial and error for a few hours now..



-- 
Joseph Scott
joseph at josephscott.org
http://josephscott.org/


More information about the theme-reviewers mailing list