sending a file chunk by chunk instead as a whole to a web server

2010-08-01 Thread Sanjeeb
Hi,
I have a web client which send a file to a server as multipart form
data, the sending of data is from
http://code.activestate.com/recipes/146306-http-client-to-post-using-multipartform-data/.

I dont want to open the whole file to memory(at cliend end) and then
send, i just want to send part by part, say chunk of 1024 bytes to the
server and then assemble at the server end.

Could some one suggest what would be the best way to do this?

Regards
-Sanjeeb
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: sending a file chunk by chunk instead as a whole to a web server

2010-08-02 Thread Sanjeeb
On Aug 2, 11:52 am, Sanjeeb  wrote:
> Hi,
> I have a web client which send a file to a server as multipart form
> data, the sending of data is 
> fromhttp://code.activestate.com/recipes/146306-http-client-to-post-using-
>
> I dont want to open the whole file to memory(at cliend end) and then
> send, i just want to send part by part, say chunk of 1024 bytes to the
> server and then assemble at the server end.
>
> Could some one suggest what would be the best way to do this?
>
> Regards
> -Sanjeeb

Hey any taker for this question???
-- 
http://mail.python.org/mailman/listinfo/python-list