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.Ftp.
Summary
Delets the file on the FTP server using the supplied credentials.
Syntax
public static void FtpDeleteFile(this ICakeContext context, Uri serverUri, FtpSettings settings)
Examples
Task("DeleteFile")
.Does(() => {
var settings = new FtpSettings() {Username = "some-user", Password = "some-password"};
FtpDeleteFile("ftp://myserver/random/test.htm", settings);
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
serverUri |
Uri |
FTP URI requring FTP:// scehma. |
settings |
FtpSettings |
The settings. |
Return Value