corretto numero file remoti ftp

This commit is contained in:
2017-11-12 21:19:12 +01:00
parent 1272594594
commit 815536f686

View File

@@ -117,7 +117,7 @@ sub matlabCalc {
system(@args) == 0
or die( getTimeStamp("log") . " - pid $$ >> system @args failed: $?\n" );
} else {
$matlab_cmd = 'matlab_' . $matlab_cmd . '.cmd';
$matlab_cmd = 'matlab_' . uc $matlab_cmd . '.cmd';
my @out_matlab = `ssh1 $matlab_ip 'cmd /c $matlab_cmd ' $tool`;
if (index($out_matlab[-1], "Failure") != -1) {
print getTimeStamp("log")
@@ -238,7 +238,7 @@ sub trxelab {
print getTimeStamp("log")
. " - pid $$ >> ftp target lists "
. scalar $ftp->ls()
. scalar @{ $ftp->ls() }
. " elements.\n";
$ftp->quit;