The exception thrown if Connect or Close failed.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

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

Remarks

If this property is non-null during a [!:Closing] event then it means that the connection was closed due to an error. In this case, if the exception is an IOException then it usually means that the connection failed.

See Also