You may want more robust error handling, but I just tested that and it works.my $localname = $ftp->get("$path$station.TXT", "$datapath$station.TXT" +); die "Something went wrong" unless defined $localname; $ftp->quit;
In reply to Re: Trapping errors from NET::Ftp
by chromatic
in thread Trapping errors from NET::Ftp
by Speedfreak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |