Re: Need code example to detect FTP server outage and do auto failover
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: Need code example to detect FTP server outage and do auto failover




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Need code example to detect FTP server outage and do auto failover  
Lőrinczy Zsigmond


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-02-04 11:51 PM

Bryan Cummings wrote:
> I have a batch script writen in unix shell (csh) that pulls feed files
> from a remote FTP server.  If that FTP server is down (or the account
> is locked), I would like to have the shell script be able to detect
> this and do some other action (connect to a secondary FTP mirror and
> send email warning).
>
> If anyone has done this before or just has an idea of how to go about
> doing this I would appreciate it.

This is what program "expect" is good for





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:55 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register