Problem eith Timestamp
I am trying to make script with WinSCP to copy all csv-files (except 1.csv) from a SFTP server to my local computer. I get a error.
Here is the code from test.txt:
option echo off
option batch on
option confirm off
option exclude 1.csv
open sftp://
lcd E:\Test
get -nopermissions -nopreservetime "*-%TIMESTAMP#yyyymmdd%.csv"
exit
And result is:
No file matching '*-20151203.csv' found.
I´m just wondering what went wrong. Help is appreciated!
Here is the code from test.txt:
option echo off
option batch on
option confirm off
option exclude 1.csv
open sftp://
lcd E:\Test
get -nopermissions -nopreservetime "*-%TIMESTAMP#yyyymmdd%.csv"
exit
And result is:
No file matching '*-20151203.csv' found.
I´m just wondering what went wrong. Help is appreciated!