Simple PHP download script

Em Andamento Postado Jul 28, 2015 Pago na entrega
Em Andamento Pago na entrega

I need very simple PHP script that will download a file from given link.

It should look like this:

1. We have a database table named example_table with example fields - id, download_link, local_file

2. Script should execute SQL Query for example "SELECT download_link FROM example_table WHERE download_link <> '' AND local_file = ''

3. From the SQL results we start downloads.

4. Perfectly the script should be able to start many downloads at once (configurable in a config file), for instance 3 files at once.

5. Script should show the download progress dynamicly (progress bar)

6. When any of the downloads is done it should execute SQL update query to put local file name to local_file field. Also it should execute the SQL query again to update results (need to check if given results include files that already are being downloaded to avoid duplication of downloads).

7. If download has failed we should handle the exception - it's up to you, if script is able to continue download than download should be retried. If not - local file should be deleted and waited for download again later.

8. Script should be able to run in background, so downloader does not need the web interface to be on all the time (any method would be fine, server is Linux-based so solutions like Cron or any other are available).

MySQL PHP

ID do Projeto: #8163047

Sobre o projeto

4 propostas Projeto remoto Ativo em Jul 28, 2015

Concedido a:

usmanjaved

I am will for this job & I shall be very much full to you for considering me. I will give you minimum time frame.

$25 USD em 1 dia
(11 Comentários)
4.9

4 freelancers estão ofertando em média $31 nesse trabalho

softtechsurat

Hello sir/madam, we have read and understand your requirement and very much confident that we can complete this project within low budget and less time . Give us chance to serve you better Looking forward to be Mais

$50 USD in 2 dias
(17 Comentários)
4.6