Progressive download in urllib2

J

Jon

I would like to be able to control the (stop/resume) the download of a
large http object when using urllib2:urlopen() in Linux My
understanding is that the open reads data until the socket buffers are
filled, then waits until data is consumed (urllib2.read()) and fetches
more.

Is there a way to set the size of the buffer pool and/or effect flow
control?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top