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
Command
Stores the command that produced this reply (if any)
public string Command { readonly get; set; }
Property Value
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
InfoMessages
Informational messages sent from the server
public string InfoMessages { get; set; }
Property Value
Message
The message, if any, that the server sent with the response
public string Message { get; set; }
Property Value
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
Type
The type of response received from the last command executed
public FtpResponseType Type { get; }