Automatic Download using URL, HELP!
| From: | Hankley, Chip | Date: | Thu, 22 Aug 2002 21:22:13 +0000 |
| Subject: | Automatic Download using URL, HELP! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113680@lists.php.net to get a copy of this message | ||
I'm stuck.
I'm trying to mine a bunch of data from a site, and I've gotten my script to
the point where I can collect the path to the filename that I need...
something like:
$File_To_Get = "http://www.someserver.org/ftp/yourfile.zip";
Now I want to automatically save this file to my hard drive, WITHOUT
prompting me where to save it. I've tried simply using COPY:
COPY($File_To_Get, "d:\\myfiles\\file1.zip");
But this doesn't work. Seems like this should be really easy...but I'm
failing miserably.
TIA
Chip Hankley