WinScpExtensions.

WinScpCompare(ICakeContext, SessionOptions, string, string, bool, bool, SynchronizationMode, bool, SynchronizationCriteria, TransferOptions) Method

Assembly
Cake.WinSCP.dll
Namespace
Cake.WinSCP
Containing Type
WinScpExtensions

Syntax

public static IEnumerable<ComparisonDifference> WinScpCompare(this ICakeContext context, SessionOptions options, string remoteFolder, string localFolder, bool logDifferences = false, bool removeFiles = false, SynchronizationMode mode = 1, bool mirror = false, SynchronizationCriteria criteria = 1, TransferOptions transferOptions = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext
options SessionOptions
remoteFolder string
localFolder string
logDifferences bool
removeFiles bool
mode SynchronizationMode
mirror bool
criteria SynchronizationCriteria
transferOptions TransferOptions

Return Value

Type Description
IEnumerable<ComparisonDifference>