Shouldn't the XML-RPC client handle this? I never read the spec, but I
would expect that proper encoding is a library function..
-Aaron
Luke Opperman wrote:
What is a correct way to pass binary data to a client so the client can
restore the binary file locally?
Actually, not so much a python OR webware question, but an XML-RPC
one. You
need to convert binary data to base64-encoded before sending it. In
python,
the base64 module will do this:
returnVal = base64.encodestring(data.read())
and
origdata = base64.decodestring(returnVal)
- Luke
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss