Re: Using wildcards in folder path
This should do:
See https://winscp.net/eng/docs/file_mask#directory
synchronize local -filemask=path2*/ e:\path1 /work/data/path1
See https://winscp.net/eng/docs/file_mask#directory