Table of Contents

Struct FtpReply

Namespace
FluentFTP
Assembly
FluentFTP.dll

Represents a reply to an event on the server

public struct FtpReply
Inherited Members
Extension Methods

Properties

Code

The status code of the response

public string Code { get; set; }

Property Value

string

Command

Stores the command that produced this reply (if any)

public string Command { readonly get; set; }

Property Value

string

ErrorMessage

Gets the error message including any informational output that was sent by the server. Sometimes the final response line doesn't contain anything informative as to what was going on with the server. Instead it may send information messages so in an effort to give as meaningful as a response as possible the informational messages will be included in the error.

public string ErrorMessage { get; }

Property Value

string

InfoMessages

Informational messages sent from the server

public string InfoMessages { get; set; }

Property Value

string

Message

The message, if any, that the server sent with the response

public string Message { get; set; }

Property Value

string

Success

General success or failure of the last command executed, by checking the FTP status code. 1xx, 2xx, 3xx indicate success and 4xx, 5xx are failures.

public bool Success { get; }

Property Value

bool

Type

The type of response received from the last command executed

public FtpResponseType Type { get; }

Property Value

FtpResponseType