urllib2 HTTPBasicAuthHandler and resumingbroken downloads

B

Brendan

Is there any way to resume an https file download using urllib2 and an
HTTPBasicAuthHandler?
 
G

Gabriel Genellina

Ug. Why does everything in Python boil down to reading rfcs? It really
slows us non computer science types down. I'll probably spend a day on
this instead of an hour. I did search the web but had no luck finding
an example, so I posted here as a last resort.

The easy way is to use wget...
If you want a Python example, go to the Python cookbook:
http://code.activestate.com/recipes/langs/python/
enter "resume download" in the search box, and the very first recipe shows
how to use the Range header.
 

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,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top