Jump to content

Auto PHP Downloader


ineedphphelp

Recommended Posts

Hi All,

 

I'm trying to figure out if anyone has this available and if not how difficult of a script is it to write? I am by no means a PHP programmer but I hear this is probably the easiest most effecient way to solve my problem. Basically i need a script that will allow me to automatically download a specific file type(s) from a web directory and save it on to a local PC directory. I guess it can have a check interval to check for new files every couple of hours or so. Can anyone help or point me in the right direction.

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/65125-auto-php-downloader/
Share on other sites

Ok this is going to be an automated system, there will be no user, basically a PC sitting in a remote location connected to the internet. I need that remote pc to receive files or download files from a specified directory on the internet. I'm not sure how to explain this. For example:

 

Local PC:

 

documents/mp3/music.mp3

 

Web Server:

 

whatever.com/mp3s/ (hosts a number or mp3 files)

 

I need the files in the web server directory to automatically be downloaded by the local pc to the mp3 folder.

Link to comment
https://forums.phpfreaks.com/topic/65125-auto-php-downloader/#findComment-325042
Share on other sites

I still don't understand you... But hearing "there will be no user, basically a PC sitting in a remote location" already makes me wonder if php will be capable of that. Maybe with the use of ignore_user_abort(), but its still hard to believe there isn't a better solution than php in this case.

 

Orio.

Link to comment
https://forums.phpfreaks.com/topic/65125-auto-php-downloader/#findComment-325045
Share on other sites

I guess you can think of it as a "download manager" instead of a user being present to download a file there is a script set to check a specified location for the files and then the script downloads the new files to a specified directory on the local machine? Would you say PHP would not be able to handle this \?

Link to comment
https://forums.phpfreaks.com/topic/65125-auto-php-downloader/#findComment-325047
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.