Cake.SFTP

a plug-in for Cake Build that allows you to upload, download and delete files on an SFT server.

#addin nuget:?package=Cake.SFTP&version=1.6.0

dotnet add package Cake.SFTP --version 1.6.0

<PackageReference Include="Cake.SFTP" Version="1.6.0" />

Aliases

Contains functionality for working with an SFTP server.

General

SFTPDeleteFile(SFTPSettings, string) Deletes a file on the SFTP server
SFTPDeleteFiles(SFTPSettings, IEnumerable<string>) Deletes files on the SFTP server
SFTPDownloadFile(SFTPSettings, string, string) Downloads a file from the SFTP server
SFTPListAllFiles(SFTPSettings, string) Gets all files from the SFTP server
SFTPUploadFile(SFTPSettings, string, string) Uploads a file to the SFTP server