Table of Contents

Class FtpCommandException

Namespace
FluentFTP.Exceptions
Assembly
FluentFTP.dll

Exception triggered on FTP command failures

public class FtpCommandException : FtpException, ISerializable
Inheritance
FtpCommandException
Implements
Derived
Inherited Members
Extension Methods

Constructors

FtpCommandException(FtpReply)

Initializes a new instance of a FtpResponseException

public FtpCommandException(FtpReply reply)

Parameters

reply FtpReply

The FtpReply to build the exception from

FtpCommandException(string, string)

Initializes a new instance of a FtpResponseException

public FtpCommandException(string code, string message)

Parameters

code string

Status code

message string

Associated message

Properties

CompletionCode

Gets the completion code associated with the response

public string CompletionCode { get; }

Property Value

string

Message

Setup the error message string

public override string Message { get; }

Property Value

string

ResponseType

The type of response received from the last command executed

public FtpResponseType ResponseType { get; }

Property Value

FtpResponseType