Re: Powershell Filemask not working Synchronize directories
the 1 in there is to use the time option for criteria, did not find a nicer way to pass it on!
Use
[WinSCP.SynchronizationCriteria]::Time
, the same syntax you are using for SynchronizationMode
and Protocol
already.
See https://winscp.net/eng/docs/library_powershell#enums