5044Upload a file using base64
- Dec 9, 2005Hi
Im trying to upload a file to a XMLRPC::Lite using base64.
Im uploading the file from .NET and have got the file as an array of
bytes, this is serialised into the base64 type using the cookcomputing
xmlrpc library (www.xml-rpc.net).
Looking at a trace of the request being sent from my computer to the
server it all looks ok but when i get the value from the struct in the
server and write it to the logfile it writes garbage. Vim has real
problems opening the file because the contents are so weird.
Do i need to do something special with the base64 type?