I need some help on this as I just can't get it. Some background, remote server via FTP, has directories like:
The list of cities is dynamic so I don't know in advance what they will be
I need to sync to local machine only the current month and previous month folders, of the above only:
My script command line shows the following:
start /min "VideoSync Tool" "%WINSCP_HOME%winscp.com" /ini="%WINSCP_HOME%winscp.ini" /log="%LOG%" /command "open RPSSync" "option batch continue" "option confirm off" "option include */;%YEAR%-%MONTH_NOW%-*;" "synchronize local %LOCAL_DIR%" "exit"
I can't get the include to work ... any ideas?
Also, I'm running WinSCP Version 4.2.7 (Build 758) (OS 5.1.2600 Service Pack 3) but when changing the log file to an xsml extension it doesn't write xml only standard log info.