alphacooler
Jan 2nd 2007, 11:18 am
Here is a script I found to download files using the commandline and WGET. But unfortunately the comments of the orig programmer aren't quite enough for me to understand.
Here is the script:
http://www.zend.com/tips/tips.php?id=91&single=1
I know where the path to wget on my server (/usr/bin/wget), but i'm not sure what to put in the following:
$destination-path
$url (url of file I want to d/l presumably)
/path-to-outfile/output
$temp = `/path-to-cat/cat /path-to-outfile/output`;
I guess I am not sure of the "format" I need to enter for these vars.
Perhaps a dummy example would be of help.
Thanks so much.
Here is the script:
http://www.zend.com/tips/tips.php?id=91&single=1
I know where the path to wget on my server (/usr/bin/wget), but i'm not sure what to put in the following:
$destination-path
$url (url of file I want to d/l presumably)
/path-to-outfile/output
$temp = `/path-to-cat/cat /path-to-outfile/output`;
I guess I am not sure of the "format" I need to enter for these vars.
Perhaps a dummy example would be of help.
Thanks so much.