I am new to WINSCP. I am trying to auto sync my local folder using timestamp only for hailstorm 2018 files which is "hail-2018*.csv.gz" from NOAA website.
I wrote this script below:
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
"open ftp://username:firstname.lastname@example.org/" ^
"cd pub/data/swdi/database-csv/v2/" ^
"lcd ""D:\Data NOAA\HailZips""" ^
"put -filemask=*>=%%TIMESTAMP#mm-dd-yyyy%%" ^
"get hail-2018*.csv.gz" ^
exit /b %WINSCP_RESULT%
ERROR: Missing parameter for command 'put'
Basically I want this script to run daily and sync my local folder with NEW and UPDATED hail 2018 files. Its a bit urgent, I would really appreciate somebody's help. Thanks a lot.