I have had similar problem before. xmlrpclib cannot stream data so I cannot handle large content such as a file attachment.
On Nov 24, 12:28 pm, António Ramos <ramstei...@gmail.com> wrote: > Hello, > Is it possible to send an attachment from a python program to an web2py app > via xmlrpclib? > > I have a working app with xmlrpc exposed > > i have a python program that has this code > > import xmlrpclib > server = > xmlrpclib.ServerProxy('http://127.0.0.1:8000/BlaBlaBla/default/call/xmlrpc') > > what do i have to add to send a pdf file for example to BlaBlaBla app ? > > Best regards > > António