WinScpExtensions.

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

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

Syntax

public static ICakeContext WinScpSync(this ICakeContext context, SessionOptions options, string remoteFolder, string localFolder, 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
removeFiles bool
mode SynchronizationMode
mirror bool
criteria SynchronizationCriteria
transferOptions TransferOptions

Return Value

Type Description
ICakeContext