Le 19 Apr 2005 11:02:47 -0700, codecraig a écrit :
> Experient I have been :)
> 
> Here is what I am getting now....
> 
> CLIENT
> -----------
> d = xmlrpclib.Binary(open("C:\\somefile.exe").read())
open the file with mode "rb"
fin = open(r'C:\somefile.exe', 'rb')
contents = fin.read()
fin.close()
d = xmlrpclib.Binary(contents)

> server.sendFile(d)
> 
> any ideas?
> 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to