Re: Working with files in a SimpleXMLRPCServver
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Working with files in a SimpleXMLRPCServver

From: Brian Quinlan <brian@sweetapp.com>
Date: Fri Mar 31 2006 - 14:57:49 CEST

Jose Carlos Balderas Alberico wrote:
> I'm setting up a server accepting XML-RPC calls using the
> SimpleXMLRPCServer class. Basically, what I have to do is send a
> zip-compressed file to the server, have the server unzip it and process
> it, after processing it the server is supposed to zip the file again,
> and send it back to the client.

Using an XML-RPC server is overkill if you are just sending a single
file and processing the result. You could just use a HTTP server.

And Python has a library for doing zip processing (zlib), so you don't
need to bother creating a file just to unzip your data.

Cheers,
Brian
Received on Sun Apr 30 21:46:28 2006