http://www.perlmonks.org?node_id=393501


in reply to How to catch Net::FTP timeouts ?

Actually, the perldoc synopsis for Net::FTP says:
$ftp->get("that.file") or die "get failed ", $ftp->message;
which would solve your problem...


----
Zak - the office