hi, I need a script to download a file directly FROM URL NOT COMPUTER into a folder on the server. i.e. the input field should not be "file" but "text" so that I may give the web URL of the file. -thank you
I guess script will be located on the same server where file needs to be downloaded? Then simple curl commands will be enough to satisfy your needs
Yeah, as the person above has said, using curl will be the best method. If you search google for something like "php curl download file" you'll find some good answers.