Hi All,
I'm working on a ftp shell script in which I'm tranfering files from one sever to another using ftp.
Some program generates files at undefined time & throughout the day.
I have to transfer the files time to time.. i.e. once the file is generated, it should be transfered at the very moment or as early as possible.
If I write a script to transfer the latest file & schedule it wth maximum frequecy, say 3 mins/4 mins , then it'll be unnecessarily overwrite the files again and again.. even the question remains wht if there are 2 files generated in 3 mins.. only the latest file will get transfer.
Wht should be done to tackle with this..
Any suggestions?
Thanks in advance.
Regards,
im_new