I have created a script that downloads file to a specific folder on my local.
I've also scheduled the tasks through windows scheduler to run mon-fri at 00:30hrs.
If the folder on the remote machine deos not contain any files then I want it to poll it again it after 1hr. I want this to continue until it finds a file.
Once it finds a file I want to stop.
I have created a batch script that calls the winscp script to download.
Any assistance will be kindly appreciated.