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
FtpReplyThe FtpReply to build the exception from
FtpCommandException(string, string)
Initializes a new instance of a FtpResponseException
public FtpCommandException(string code, string message)
Parameters
Properties
CompletionCode
Gets the completion code associated with the response
public string CompletionCode { get; }
Property Value
Message
Setup the error message string
public override string Message { get; }
Property Value
ResponseType
The type of response received from the last command executed
public FtpResponseType ResponseType { get; }