I have a polling process that runs 24x7 ( internal site ) and for the
most part has no problems except that they shutdown the the internal
site every three or four weeks and my process then dies.
I have a simple setup:
$MyFtp =3D Net::FTP->new($GlblInfo{ipaddr}, Debug =3D> 1);
$MyFtp->login($GlblInfo{logon},$GlblInfo{pw});
Yes. There is no checking on the new and what happens is that
new fails and then when it tries the login, I get a failure for the
method login. So how do I surround the new so that if it fails, I can
go to sleep for say five minutes and then try again until I hit some
limit or timeframe?
Any thoughts or insights would be gratly appreciated.=09
Wags ;)
David R Wagner
Senior Programmer Analyst
FedEx Freight
1.408.323.4225x2224 TEL
1.408.323.4449 FAX
http://fedex.com/us=20
**********************************************************************
This message contains information that is confidential and proprietary to
F=
edEx Freight or its affiliates. It is intended only for the recipient
name=
d and for the express purpose(s) described therein. Any other use is
proh=
ibited.
**********************************************************************