codecraig schrieb:
CLIENT
-----------
d = xmlrpclib.Binary(open("C:\\somefile.exe").read())
server.sendFile(d)

SERVER
--------------
def sendFile(tmp):
    print "FILE:", tmp

This returns None. Don't know what XML-RPC expects, but you may either try to return something else from the function or make XML-RPC return nothing (don't know if that works).


xmlrpclib.Fault: <Fault 1: 'exceptions.TypeError:cannot marshal None
unless allow_none is enabled'>

The obvious error. :)

Stefan
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to