in reply to Re: Net::SSH::Perl and WGET
in thread Net::SSH::Perl and WGET
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Net::SSH::Perl and WGET
by pme (Monsignor) on Jan 13, 2015 at 21:57 UTC | |
by Monkless (Acolyte) on Jan 15, 2015 at 15:23 UTC |