in reply to download using wget command
Maybe your problem is that you are using backticks to execute wget. You need only system or backticks. If you need to save something in a different directory you should use the -P option of wget:
system 'wget -P /usr/tmp http://192.168.0.1/abc'
If you want to use only Perl, then look at LWP::Simple; a simple example:
use LWP::Simple; mirror('http://192.168.0.1/abc', '/usr/tmp/abc');
Ciao, Valerio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: download using wget command
by kumar (Initiate) on Feb 19, 2003 at 18:12 UTC | |
by jasonk (Parson) on Feb 19, 2003 at 18:52 UTC |