streaming data with XML-RPC
Dave Disser
disser at san.rr.com
Mon Jun 4 15:07:38 EDT 2001
I have an application for which I would like to use xmlrpclib.py.
However, I need to send large files over the network as well. I
notice in RedHat's up2date program that the following is done for the
client side (error handling omitted):
s = getServer()
pkgStream = s.up2date.package(getSystemId(), pkg)
chunk = pkgStream.read(1024)
...more reading
What is needed on the server side for this to work? Unless there's
some serious magic in xmlrpclib, just opening a file handle and
returning wouldn't work.
--Dave
More information about the Python-list
mailing list