RE: xmlrpclib.binary to a file doubt

2007-12-12 Thread Jose Ignacio Gisbert
Regards, Naxo _ De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Jose Ignacio Gisbert Enviado el: miƩrcoles, 12 de diciembre de 2007 9:12 Para: python-list@python.org Asunto: xmlrpclib.binary to a file doubt Hi all, I have a problem in my application which us

xmlrpclib.binary to a file doubt

2007-12-12 Thread Jose Ignacio Gisbert
Hi all, I have a problem in my application which uses xml-rpc methods. From one hand I can send a file to a server doing f=open(Myfile,'rb') g=f.read() name=(f.name).split("/") name=name[len(name)-1] calltosendmethod(xmlrpclib.Binary(g),name) And it works fine. But on the other han