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

Discussion in 'Python' started by Justin, Sep 3, 2004.

  1. Justin

    Justin Guest

    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
    Justin, Sep 3, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xu, C.S.
    Replies:
    5
    Views:
    472
    John J. Lee
    Sep 17, 2003
  2. Replies:
    9
    Views:
    157
  3. Ian Kelly
    Replies:
    0
    Views:
    102
    Ian Kelly
    Feb 24, 2013
  4. MRAB
    Replies:
    1
    Views:
    113
    Thomas Rachel
    Feb 24, 2013
  5. rh
    Replies:
    0
    Views:
    126
Loading...

Share This Page