Resuming download of a file

Resuming download of a file 1.1

Resuming download of a file 1.1 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Freeware
  • Databases: N/A
  • Downloads: 398
  • Released: Jun 6, 2007

Resuming download of a file 1.1 Description

This script shows how to resume downloading of a file that has been partially downloaded from a web server. It's been tested with Apache 1.3.x, but should work with any web server that understands the "range" header.

This script uses the extra header - "Range" to let the web server know that we only want a certian range of data to be downloaded. The server must support this, but this is part of the HTTP1.1 spec, so it should be widely supported.

I essentially use the urllib.FancyURLopener to do all the dirty work of adding a new header and doing the normal handshaking. I just had to let it know that the "error" 206 is not really an error - just continue to proceed normally.

I also do some extra checks to quit the download if I've already downloaded the whole file.

Check out the HTTP1.1 RFC to learn more about what the headers mean. The script should probably do a check to make sure the web server accepts "range" but that is pretty simple to do.

Resuming download of a file 1.1 Keywords

Resuming download of a file Bookmark

Hyperlink code:
Hyperlink for Forum code:

Resuming download of a file 1.1 Script Download Notice

Top 4 Download periodically updates information of Resuming download of a file 1.1 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Resuming download of a file 1.1 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

MultiGet

MultiGet is a homepage downloader with a nice GUI for linux/windows/unix desktop users.It can run on almost all desktops without any configuration. It has many powerful functions comparing to others. ...

XDCC Fetcher

... is a PHP script that allows you to download files from XDCC. You need to simply go to ... XDCC Fetcher and the script will attempt to download the file. This script is different from other XDCC leecher ... not join hundreds of channels looking for shared files and allowing to choose which one to download. ...

php Download Manager

php Download Manager is a script package written in php ... back-end. The script allows site owners to offer downloads by category. The program generates code to link to categories or individual downloads. When a visitor downloads, the file location is masked. MySQL generates the actual download. Features of the script package include: - ...

csFile Download

... an ASP component which allows the control of file downloads from within an active server page script. Features: - Stream a binary file from anywhere on your server to the browser. - Files can be in directories that are not web ... ASP to allow password access and to record file downloads. - Use the built in access ...
ASP.NET

Octod

Octod is a download manager daemon -- a daemon that listens at the network interface for incoming download jobs and performs them (simultaneously) in the background. ... on desktop systems as a reliable and fast download manager without the overhead of a graphical user ... it can also be used as a centralized download station running in network environments with multiple users.To ...