PHP Classes

HTTP Download: Server files for downloading with resume support

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 9,309 All time: 162 This week: 129Up
Version License Categories
vnc_httpdownload 1.0.0GNU General Publi...HTTP, Files and Folders


This class can be used to dynamically serve data from files for download.

It can handle HTTP requests that ask to resume the download of files that were partially downloaded previously. So, it supports any download manager program that the users may employ.

It can serve data from files available on the serve or from dynamically generated data strings.

It can also handle user download abort requests so the download process stops immediately.

The class also supports custom user defined callback functions to handle all steps of the file download process, so it can be customized for special purposes.

You can also tracking user's download bandwidth for this download ( remeber to disable autoexit to use this option )

Picture of Bao Nguyen Quoc
Name: Bao Nguyen Quoc is available for providing paid consulting. Contact Bao Nguyen Quoc .
Classes: 10 packages by
Country: Viet Nam Viet Nam
Age: 36
All time rank: 341 in Viet Nam Viet Nam
Week rank: 311 Down3 in Viet Nam Viet Nam Down
Innovation award
Innovation award
Nominee: 2x


php code for download files
i want to write code in php to download any type of files

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.httpdownload.php Class Class
Accessible without login Plain text file test.php Example Example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:162
This week:129Up
User Ratings User Comments (4)
 All time
it's good , but you can add streaming mode in this class that...
11 years ago (mohammad)
Very good and useful class.
15 years ago (V@no)
this class is verry-verry good , thanks
15 years ago (yupi yupi)
good work
16 years ago (Ersin Güvenç)