Re: synchronize remote -filemask Synchronizing based on a partial filename
Your problem has nothing to do with the
You have to enclose the paths with spaces to double quotes:
See https://winscp.net/eng/docs/scripting#quotes
-filemask
argument. It's about the spaces in the paths.
You have to enclose the paths with spaces to double quotes:
synchronize remote -filemask="pds*." "M:\Produktedokumentation\Datenblätter\deutsch\01 Motorenoele" "/share/CACHEDEV1_DATA/STRUB-Data/Deutsch/01 Motorenoele/01 Datenblätter"
See https://winscp.net/eng/docs/scripting#quotes