in reply to Trapping errors from NET::Ftp
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Trapping errors from NET::Ftp
by Anonymous Monk on May 23, 2000 at 02:21 UTC | |
by neshura (Chaplain) on May 23, 2000 at 02:35 UTC | |
by reptile (Monk) on May 23, 2000 at 02:35 UTC | |
by WintersMystic (Novice) on Oct 25, 2001 at 08:34 UTC |