I would like to download a file. If the connection is OK, I can download the file with:
import urllib.request
urllib.request.urlretrieve(remote_file, local_file)
Sometimes when I am connected on week wireless (not mine) network I get WinError 10054 exception (windows 7). When it happens, I would like to resume download instead of doing everything from very beginning.
How to do that? I read about Range header and chunks, but this server doesn't have any headers.
What options do I have with this particular file?