Is there a program or script that will monitor a directory on machine A
and whenever a file is modified or added to that directory, automatically
kick in and invoke an ftp program to move up the new and changed files to
machine B?

Gary

On Tue, 15 Feb 2000, Glen Lee Edwards wrote:

> Date: Tue, 15 Feb 2000 10:40:45 -0600 (CST)
> From: Glen Lee Edwards <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: A script to update web site?
> Resent-Date: 15 Feb 2000 16:35:36 -0000
> Resent-From: [EMAIL PROTECTED]
> Resent-cc: recipient list not shown: ;
> 
> NCFtp has a sub program called NCFtpPut you can use.  It runs from the
> command prompt, making it a good option to write a simple shell script to
> run from cron.  You can set the job to run periodically, at which time
> NCFtpPut will ftp into machine B, compare the two files, upload the one
> from A if they are different, or shut down if they are the same, leaving a
> log file of the action taken for you to peruse.  You can use NCFtpGet to
> accomplish the same, but you'll have to run this one from machine B.
> 
> Glen
> 
> Glen Lee Edwards
> [EMAIL PROTECTED]
> 
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> :: "[EMAIL PROTECTED]" for general perl questions
> ::  [EMAIL PROTECTED]
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> 
> 
> On Mon, 14 Feb 2000 [EMAIL PROTECTED] wrote:
> 
> >On Mon, 14 Feb 2000, Zaigui Wang wrote:
> >> I need to regularly update our web site. All the changes are made and
> >> tested  on machine A, and the www server is on machine B. Is there an easy
> >> way to update machine B based on whatever changes that have been made on
> >> machine A?
> >> Tar everything up on machine A and untar it on machine B, of course, will
> >> work. But that is a little bit overkill, if only a tiny bit is changed.
> >> Any ideas?
> >
> >I use a program called sitecopy. I can't remember exactly where I got it,
> >but I'm sure a search of freshmeat will find it. (If you want a GUI
> >interface don't forget to use './configure --enable-gnomefe' when preparing
> >to compile it. Read the INSTALL file.)
> >
> >Mit freundlichen Gr��en,
> >Russ.
> >                Ne Desit Virtus - The Behne Family Motto
> >
> >  Mary had a little key;
> >    she kept it in escrow.
> >      and everything that Mary sent,
> >        the feds were sure to know.     -- Andy Starritt, in sci.crypt
> >
> >
> >
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to