timtrust123
Programmer
Hi
I have written a Perl script that collects files from an ftp server.
###Extract###
foreach $file (@get_files_list )
{
$ftp_atlas->get ($file)
}
Sometimes the FTP server stops responding and the Perl script waits for a up to 10 minuites before continuing.
Is there a way to set a local timout in the perl script so that if no luck after say 1 minuite contiuue?
Cheers
I have written a Perl script that collects files from an ftp server.
###Extract###
foreach $file (@get_files_list )
{
$ftp_atlas->get ($file)
}
Sometimes the FTP server stops responding and the Perl script waits for a up to 10 minuites before continuing.
Is there a way to set a local timout in the perl script so that if no luck after say 1 minuite contiuue?
Cheers