I am totally new at WinScp and scripting and I am trying to automate daily download of some files.
Problem is that I only need to download most recent (i.e 1 day old file) file.
I found out that in the latest beta version of WInsCp you can put file mask with Size and Time Constraints to do that https://winscp.net/eng/docs/file_mask
However I can't manage to download only the latest excel file from the server . It keeps downloading all files.
Basically I try to do this :
Thx in advance.