in reply to FTP automation
In your scripted ftp session you state you're getting a "closed socket" error which is what I would expect given initial statement The equipment in question automatically reboots itself upon receipt of the new phonebook. So how would I handle the error? I wouldn't. I would just check the return value of the put and if okay, just exit:
$FTP->put( $opb ) || die "An error occurred with put"; print "All is well ... exiting\n";
-derby
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: FTP automation
by dataDrone (Acolyte) on Jun 27, 2003 at 21:38 UTC | |
|
Re: Re: FTP automation
by TStanley (Canon) on Jun 30, 2003 at 13:49 UTC | |
by derby (Abbot) on Jun 30, 2003 at 15:14 UTC | |
by TStanley (Canon) on Jul 01, 2003 at 16:21 UTC | |
by derby (Abbot) on Jul 01, 2003 at 18:52 UTC |