CakeSFTP Class

Summary

Contains functionality for working with an SFTP server.
Assembly
Cake.SFTP.dll
Namespace
Cake.SFTP
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CakeSFTP"] class Type type-node

Syntax

public static class CakeSFTP

Attributes

Type Description
NullableContextAttribute
NullableAttribute
CakeAliasCategoryAttribute

Methods

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

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin