Re: Working with files in a SimpleXMLRPCServver
- From: Brian Quinlan <brian@xxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 14:57:49 +0200
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
.
- Prev by Date: QOTW... (was: Doc suggestions (was: Why "class exceptions" are not deprecated?))
- Next by Date: Re: Copy files
- Previous by thread: invalid syntax - problems with CR (0x0a)
- Next by thread: re.sub problem
- Index(es):