C
ccc31807
This probably isn't a c.l.p.m. issue, but I'll ask anyway.
I have a script that's run for years, part of which runs pscp to
download and upload files to a remote server several times a day. This
functionality is part of an essential process, and my organization's
activities would come to a screeching halt if this ever failed. The
machines are Windows servers.
The call looks something like this:
sub get_app_file
{
my $success = system './pscp -p -pw password [email protected]/
directory/path/filename*.txt .';
if ($success == 0) { $log .= "Successfully downloaded application
file.\n"; }
else { $log .= "PROBLEM WITH downloaded application file.\n"; }
}
The hardware guys are updating the servers, and I am in the process of
moving these scripts to a new machine. A week ago, the download
function worked, and today I can run it by hand -- BUT the script
fails with this error message:
‘Fatal: Network error: Connection timed out’
The hardware guys claim that they have made no change whatsoever to
the system, but we have automatic updates, which have run.
Any clues as to what might cause the problem? And maybe how to
diagnose the failure? I'm not a hardware guy or a network guy, and I
don't have any idea where to begin.
Thanks, CC.
I have a script that's run for years, part of which runs pscp to
download and upload files to a remote server several times a day. This
functionality is part of an essential process, and my organization's
activities would come to a screeching halt if this ever failed. The
machines are Windows servers.
The call looks something like this:
sub get_app_file
{
my $success = system './pscp -p -pw password [email protected]/
directory/path/filename*.txt .';
if ($success == 0) { $log .= "Successfully downloaded application
file.\n"; }
else { $log .= "PROBLEM WITH downloaded application file.\n"; }
}
The hardware guys are updating the servers, and I am in the process of
moving these scripts to a new machine. A week ago, the download
function worked, and today I can run it by hand -- BUT the script
fails with this error message:
‘Fatal: Network error: Connection timed out’
The hardware guys claim that they have made no change whatsoever to
the system, but we have automatic updates, which have run.
Any clues as to what might cause the problem? And maybe how to
diagnose the failure? I'm not a hardware guy or a network guy, and I
don't have any idea where to begin.
Thanks, CC.