FtpClient Class

Summary

The FTP Client.
Assembly
Cake.Ftp.dll
Namespace
Cake.Ftp
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["FtpClient"] class Type type-node

Syntax

public class FtpClient

Constructors

Methods

Name Value Summary
DeleteFile(Uri, FtpSettings) void
Deletes a file at the specified URI.
UploadFile(Uri, FilePath, FtpSettings) void
Uploads file to specified location using the supplied credentials.

Extension Methods

Name Value Summary
Dump<FtpClient>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<FtpClient>(FtpClient[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<FtpClient>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<FtpClient>(string) void
Requires the Cake.Issues addin
ThrowIfNull<FtpClient>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<FtpClient>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin