[theme-reviewers] File upload using xml rpc
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 -
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 at josephscott.org
More information about the theme-reviewers