Re: Exclude File in SynchronizationMode
The
Session.SynchronizeDirectories
takes TransferOptions
as its 7th parameter:
$synchronizationResult = $session.SynchronizeDirectories(
[WinSCP.SynchronizationMode]::Local, $localPath, $remotePath, $False, $False, [WinSCP.SynchronizationCriteria]::Time, $transferOptions)