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 a file on the SFTP server
Syntax
public static void SFTPDeleteFile(this ICakeContext cakecontext, SFTPSettings settings, string remoteFilePath)
Examples
SFTPDeleteFile(settings, "/uploads/somefile.txt");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
cakecontext |
ICakeContext |
The context. |
settings |
SFTPSettings |
The settings file for the SFTP server. |
remoteFilePath |
string |
The path to the file on the server you want to delete. |
Return Value