On Tue, 2003-12-23 at 07:07, redhat wrote: > I have a windows computer that ftp's data to a Linux box on the inside > (trusted) side of our network. I need to ftp that information from that > Linux box to another Linux box that is in our DMZ. Is there a way to > automate this function using cron? Is there a better method? The file > is updated every 5 minutes from the windows computer and I would like to > make this happen every 5-10 minutes. > thanks, > DF So you have Windows-->Linux1-->Linux2 ? You could run a cron job on Linux2 that periodically does a wget from Linux1. (Note wget can retrieve http[s] or ftp) This requires an ftp server running on Linux1. (Which I presume is there now because Windows uses it to "put" the file there.) or... An ftp server on Linux2. A daemon (or cron) program on Linux 1 that checks for changes to the incoming file. When a change is detected, ftp it to Linux2. (Check every minute) or... Can you have some shared disk space between Linux1 and Linux2? Windows ftps data to Linux1... the linux1 ftp server is set to put the incoming data for that userid/password to a directory (maybe even it's own partition)... Linux2 mounts that directory and thus always has access to the most current file... no need to send it from linux1 to linux2. There's pros and cons... but that's some ideas off the top of my head.