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
In reply to Re: download using wget command
by valdez
in thread download using wget command
by kumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |