I guess i should of do it before post.
I updated to latest version of winscp and it is working fine now.
I am writing a script to automatically download files with date stamp.
Files available on remote server 10pm, and I need to run some scripts before and some after midnight.
So I have 2 versions to schedule:
version one has get TEST_%TIMESTAMP#yyyymmdd%.gz
and it works correctly
but 2nd version get TEST_%TIMESTAMP-1D#yyyymmdd%.gz
results in /TEST_%TIMESTAMP-1D#yyyymmdd%.gz is not valid path
what am I missing?