CakeSFTP.

SFTPDownloadFiles(ICakeContext, SFTPSettings, IEnumerable<SFTPFilePair>) Method

Summary

Downloads a file from the SFTP server
Assembly
Cake.SFTP.dll
Namespace
Cake.SFTP
Containing Type
CakeSFTP

Syntax

public static void SFTPDownloadFiles(this ICakeContext cakecontext, SFTPSettings settings, IEnumerable<SFTPFilePair> paths)

Examples

SFTPDownloadFiles(settings, aListOfFilePaths);

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
cakecontext ICakeContext The context.
settings SFTPSettings The settings for the SFTP server.
paths IEnumerable<SFTPFilePair> a list of paths to download

Return Value

Type Description
void