Hi,
I need some help on this as I just can't get it. Some background, remote server via FTP, has directories like:
data/Cardiff/2010-05-06/
data/Cardiff/2010-04-02/
data/Cardiff/2009-05-06/
data/London/2009-05-06/
data/Edinburgh/2010-02-06/
The list of cities is dynamic so I don't know in advance what they will be
etc.
I need to sync to local machine only the current month and previous month folders, of the above only:
data/Cardiff/2010-05-06/
data/Cardiff/2010-04-02/
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.