Exclude Mask not working
This is now working. Reference: https://winscp.net/forum/viewtopic.php?t=15545
I've changed the following:
From:
To:
As mentioned in https://winscp.net/eng/docs/faq_library_parameters.
I've changed the following:
From:
$synchronizationResult = $session.SynchronizeDirectories(
[WinSCP.SynchronizationMode]::Local, $localPath,
$remotePath, $transferOptions)
To:
$synchronizationResult = $session.SynchronizeDirectories(
[WinSCP.SynchronizationMode]::Local, $localPath,
$remotePath, $false, $false, [WinSCP.SynchronizationCriteria]::Time, $transferOptions)
As mentioned in https://winscp.net/eng/docs/faq_library_parameters.