[wp-xmlrpc] About usage of mw_newMediaObject
Peter Westwood
peter.westwood at ftwr.co.uk
Wed Jul 8 06:45:36 UTC 2009
On 8 Jul 2009, at 06:51, Kushal Das wrote:
> 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
Could you share the XML as seen on the wire so we can see exactly what
you are sending.
(Don't forget to remove the actual username and password)
--
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
More information about the wp-xmlrpc
mailing list