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
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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.