ineedphphelp Posted August 15, 2007 Share Posted August 15, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/65125-auto-php-downloader/ Share on other sites More sharing options...
SirChick Posted August 15, 2007 Share Posted August 15, 2007 im lost here man... what do you mean exactly cant you just press CTRL+F in the directory and find the file ? :/ Cos you know you can "right click" and download anything you like ? Quote Link to comment https://forums.phpfreaks.com/topic/65125-auto-php-downloader/#findComment-325035 Share on other sites More sharing options...
ineedphphelp Posted August 15, 2007 Author Share Posted August 15, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/65125-auto-php-downloader/#findComment-325042 Share on other sites More sharing options...
Orio Posted August 15, 2007 Share Posted August 15, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/65125-auto-php-downloader/#findComment-325045 Share on other sites More sharing options...
ineedphphelp Posted August 15, 2007 Author Share Posted August 15, 2007 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 \? Quote Link to comment https://forums.phpfreaks.com/topic/65125-auto-php-downloader/#findComment-325047 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.