Python seek on remote file using HTTP
If you are downloading the remote file through HTTP, you need to set the Range header. Check in this example how it can be done. Looks like this: myUrlclass.addheader(“Range”,”bytes=%s-” % (existSize)) EDIT: I just found a better implementation. This class is very simple to use, as it can be seen in the docstring. class HTTPRangeHandler(urllib2.BaseHandler): … Read more