I have a below requirement to my java application,
- I need to lookup/watch the remote folder or FTP(Example : \192.168.300.55\c$\logs) for particular time interval(Example : 15 Mins)
- and i need to compare the local folder(which i have created locally in my application/project path) and remote folder .
- If there is any updates in remote folder, I need to update local folder accordingly(need to copy the updated log files to local folder).
Question,
Is there any API/way available to do this operation in java.
Can we do this operation with windows script(.bat).
Please let me know your thoughts on this.. i am trying to get good performance and reduce the time.
Thanks,