FtpReply.ErrorMessage Property

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
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.

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
public string ErrorMessage { get; }
Visual Basic
Public ReadOnly Property ErrorMessage As String
	Get
Visual C++
public:
property String^ ErrorMessage {
	String^ get ();
}

Property Value

Type: String

See Also