FtpService Class

Summary

The FTP Service.
Assembly
Cake.Ftp.dll
Namespace
Cake.Ftp.Services
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IFtpService"] click Interface0 "/api/Cake.Ftp.Services/IFtpService" Type["FtpService"] class Type type-node

Syntax

public class FtpService : IFtpService

Constructors

Name Summary
FtpService(ICakeLog) Intializes a new instance of the FtpService class.

Methods

Name Value Summary
DeleteFile(Uri, string, string) void
Deletes a file.
UploadFile(Uri, IFile, string, string) void
Uploads a file.

Extension Methods

Name Value Summary
Dump<FtpService>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<FtpService>(FtpService[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<FtpService>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<FtpService>(string) void
Requires the Cake.Issues addin
ThrowIfNull<FtpService>(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<FtpService>(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