Urlopen.urlretrieve(url, to) can it be canceled/stopped/killed

J

Justin

does anybody know if there is a way to stop urlretrieve mid transfer or
are you simply bound to finishing the file you are on? If anybody
knows the answer to this let me know. i have read all the docs and
there is a callback or reporthook function, but I am not sure if that
can be used to halt the progress and close the socket.

-Justin

This is the final feature on my first program
Thanks to all the help from all on comp.lang.python
 

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,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top