![](https://seccdn.libravatar.org/avatar/b5c5e490baabe2a25a6a11b61eabc1ec.jpg?s=120&d=mm&r=g)
Hi Anders, I cannot have a delay. File transfer must begin as soon as the file has been uploaded to the server. So, I suppose rsync or mirror would be the best way to go. What are some "log watcher" apps that can launch a script, run rsync or mirror? Thanks, --------------------------- Eric Carbone -----Original Message----- From: Anders Johansson [mailto:andjoh@cicada.linux-site.net] Sent: Monday, March 25, 2002 1:12 PM To: Eric Carbone Subject: Re: [SLE] Need help synchronising 2 FTP Servers Hi, It depends a bit on your requirements. If you can live with a slight delay between syncs, the simplest option would be to set up either mirror or rsync (both are included in suse's dist) as a cron job running at regular intervals. If you want instant action one idea that comes to mind is to log all transfers and use a log watcher to trigger an action (say, running rsync or mirror). Both ideas should be relatively trivial to set up. regards Anders On Monday 25 March 2002 18.53, Eric Carbone wrote:
Scenario:
I have 2 FTP Servers - one at company "A" and another at company "B".
Here's what I would like to do:
A person at company "A" uploads a file to their OWN ftp server (the one located at company "A").
The uploaded files always go to the same directory (i.e. the 'send' folder)
I need some sort of shell script or other means of AUTOMAGICALLY taking this file and copying it over the Internet to the 'receive' directory on the FTP Server at company "B". (Basically, I need automated server mirroring). The same needs to work in reverse: Files uploaded to company "B" send folder need to me copied over the Internet to company "A" receive folder.
If anyone is willing to help me accomplish this task I will send you an amazon.com gift certificate! :-)
I need to get this working and I don't know a thing about shell scripting.
Anyone up for the challenge, please contact me off-line.
Thanks!
--------------------------- Eric Carbone
participants (1)
-
Eric Carbone