Unix Programming - Re: Need code example to detect FTP server outage and do auto failover

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > September 2004 > Re: Need code example to detect FTP server outage and do auto failover





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2004-09-02, 6: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com