[wp-trac] [WordPress Trac] #20984: XMLRPC: wp.uploadFile missing base64_decode

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 15 23:10:53 UTC 2012


#20984: XMLRPC: wp.uploadFile missing base64_decode
--------------------------+------------------------------
 Reporter:  fishc4ke      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  XML-RPC       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by maxcutler):

 Can you supply the exact XML-RPC request you are sending to WordPress? If
 you are using the base64 value type as defined in the
 [http://xmlrpc.scripting.com/spec.html spec], then it should be doing the
 Right Thing.

 If you are using Python's xmlrpclib, you can take a look at my python
 wrapper library to see the [http://python-wordpress-
 xmlrpc.readthedocs.org/en/latest/examples/media.html correct way] to
 handle binary data.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20984#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list