
25 Jan
2010
25 Jan
'10
5 p.m.
On 03:40 pm, k_r_a_j_kumar@yahoo.co.in wrote:
Hi, Currently I'm using twisted.web api for my http server. If I have to implement a file upload from client, is it possible to receive a file at server end using twisted.web? or should I move to twisted.web2?
Sure. See the "content" attribute of the request object. You don't need to, and should not, switch to twisted.web2.
http://jcalderone.livejournal.com/49707.html doesn't cover file uploads, but it does go over some of the other things you need to do to handle POSTs, which you'll probably be interested in.
Jean-Paul