[Twisted-Python] How would I upload/download files through twisted.web

John D. Heintz jheintz at isogen.com
Thu May 8 15:38:53 MDT 2003


Any help of this issue? I've got a good feeling about twisted but:

a) don't have time to explore http and twisted
b) don't yet completely grok the asyncronous flow

If I can get an http upload/downloader working I can you Twisted on a
project for a customer to get a  better performing web server than the
BaseHTTPServer from python.

Thanks for your time,
John

On Mon, 2003-05-05 at 13:29, John D. Heintz wrote:
> Hi all,
> 
> I tried searching the mailing list and google but ended up more
> confused. Sorry if this is in the docs and I missed it, just redirect
> me.
> 
> Question: How do I write a simple twisted.web server to receive an
> uploaded file, process it, and return a different file for
> download/launch.
> 
> The last part does have some examples, but I include it hear for
> completeness.
> 
> My intuition tells me that this kind of thing is "trivial" in twisted,
> but I'm having a hard time unraveling the knot. I started working on a
> custom Resource but only got so far.
> 
> Can someone post a small python script (like web.py in examples) that
> does this?
> 
> Thanks for the time,
> John
> 
> -- 
> John D. Heintz | Senior Developer
> 
> 1016 La Posada Dr. | Suite 240 | Austin TX 78752
> T 512.380.0347 | jheintz at isogen.com
> 
> http://www.isogen.com
-- 
John D. Heintz | Senior Developer

1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.380.0347 | jheintz at isogen.com

http://www.isogen.com





More information about the Twisted-Python mailing list