I'm looking to code a PHP application that is a little like flashget ([url removed, login to view]) but that can be accessed and modified by a web interface (likely built by ourselves in PHP or similar), however we will need the backed (i.e. the actual downloader) to download the physical files and report the results.
This application wil be used on a windows server
Below are the features that I need:
For the application to either accept a connection or to pick up the information from a text file/database (witch ever is easier).
The following will be given to the application.
Username & Password (if required)
Download to (as in directory)
Features we will would like:
The ability for the system to prioritise download jobs by what priority they are given in the script. So for example if we say gave it 200 links with a priority of 5 and then when it got half way through downloading those, then gave it 10 links with a priority of 1 then we would like it to either pause downloading of the existing files until those 10 priority 1 files have been downloaded, or to at least finish the file that it’s currently doing, and then move onto the 10 priority 1 files.
Another feature that is needed, is the ability to limit download speed as a whole. So to only give the application say 30Mbit’s of connectivity to play with rather than letting it mush down the line.
We will need the application to report it’s progress of certain files in perhaps a updated every second or updated every couple of seconds way, either to a database (if that’s simple) or to a plain text file, so that our web application can pickup that information.
This script will likely be downloading from [url removed, login to view] so it will need to be able to handle username/passwords
FYI everything is on one server, php, mysql and this backend application
This is a personal project and therefore do not want to spend too much money on this.