This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.SFTP.
Summary
Deletes files on the SFTP server
Syntax
public static void SFTPDeleteFiles(this ICakeContext cakecontext, SFTPSettings settings, IEnumerable<string> remoteFilePaths)
Examples
var aListOfRemoteFilePaths = new List<String>{"/uploads/somefileA.txt", "/uploads/somefileB.txt"};
SFTPDeleteFiles(settings, aListOfRemoteFilePaths);
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
cakecontext |
ICakeContext |
The context. |
settings |
SFTPSettings |
The settings file for the SFTP server. |
remoteFilePaths |
IEnumerable<string> |
A list of paths to the files on the server you want to delete. |
Return Value