This may actually be what I need here, as the script downloads now as expected, but script just hangs once download on remote hosts completes.
my ($out, $stderr3, $exit3,) = $ssh->cmd("/usr/local/bin/wget -c -np -r -nH --cut-dirs=1 --reject index.html* -P /var/tmp 'http://urlHOST/patch/126546-07/'");Remote System shows package: co$ ls 126546-07
Script server shows the script still running, which should have ended after download completed
$ ./upgradeServices.pl
In reply to Re^2: Net::SSH::Perl and WGET
by Monkless
in thread Net::SSH::Perl and WGET
by Monkless
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |