Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Looking for exa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 10786 of 11948
Post > Topic >>

Looking for example of how to keep an FTP processing running if the

by "Wagner, David --- Senior Programmer Analyst --- WGO" Mar 24, 2008 at 01:25 PM

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.
**********************************************************************
 




 4 Posts in Topic:
Looking for example of how to keep an FTP processing running if
"Wagner, David --- S  2008-03-24 13:25:27 
Re: Looking for example of how to keep an FTP processing running
yitzle@[EMAIL PROTECTED]   2008-03-24 14:30:47 
Re: Looking for example of how to keep an FTP processing running
chas.owens@[EMAIL PROTECT  2008-03-24 14:41:33 
RE: Looking for example of how to keep an FTP processing running
"Wagner, David --- S  2008-03-24 14:34:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 16:18:56 CDT 2008.