[wp-xmlrpc] About usage of mw_newMediaObject

Kushal Das kushaldas at gmail.com
Wed Jul 8 05:51:14 UTC 2009


Hi,

I am trying to use mw_newMediaObject to upload files to the server. I
am sending the data (a png image in this case) base64 encoded and type
is 'image/png; charset=binary'. But I can see the same base64 encoded
string only being uploaded in the server not the actual image. [1] is
an example of the result of the upload. The client is being written in
python.

[1] http://kushaldas.files.wordpress.com/2009/07/draft2.png

Kushal
-- 
http://fedoraproject.org
http://kushaldas.in


More information about the wp-xmlrpc mailing list