I am searching a script (batch file) to get URLS and after to GET it download it to my HD. In other words how I would copy an URL to my HD, ex.:
Normally in command line we copy a file with this line command:
COPY FILEA.TXT FILEB.TXT
However to get a URL it is not run:
ex.:
copy http://www.yahoo.com/xxxx > myfile.htm
Than you in advance
Install the so-called CGI version of PHP, which will process scripts from a command line. Then do the following, which works well with Unix:
#!/usr/bin/php -q
<? echo implode('', file($HTTP_SERVER_VARS['argv'][1]) ); ?>