FTP server mirroring (push not pull)
I have a system which uploads data to my FTP server periodically. I need to upload any files that arrive to a second (and possibly third) FTP server. The points that make it not fit a traditional mirroring is that (a) my FTP server needs to push the files out to the other server(s) rather than have them pull the files in, and (b) the data needs to be synchronised as fast as possible after it arrives (the files are alarm logs amongst other things). So an hourly or daily cronjob won't suffice. Although I have control over my own FTP server, I can't make any assumptions about the third party servers in terms of their O/S, functionality, FTP server software, etc. Any suggestions for the best place to start with this? -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
On 06 Jul 12:00, Mark Rogers wrote:
I have a system which uploads data to my FTP server periodically. I need to upload any files that arrive to a second (and possibly third) FTP server.
The points that make it not fit a traditional mirroring is that (a) my FTP server needs to push the files out to the other server(s) rather than have them pull the files in, and (b) the data needs to be synchronised as fast as possible after it arrives (the files are alarm logs amongst other things). So an hourly or daily cronjob won't suffice.
Although I have control over my own FTP server, I can't make any assumptions about the third party servers in terms of their O/S, functionality, FTP server software, etc.
Any suggestions for the best place to start with this?
inoticoming + small script round lftp that does mirror -R -- Brett Parker
On 06/07/12 12:47, Brett Parker wrote:
inoticoming + small script round lftp that does mirror -R
Thanks. I've played with inotify before so that makes sense. Not used lftp but will go and play. -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
participants (2)
-
Brett Parker -
Mark Rogers