Checks if client is connected to FTP server.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public virtual bool Connected { get; }
Visual Basic
Public Overridable ReadOnly Property Connected As Boolean
	Get
Visual C++
public:
virtual property bool Connected {
	bool get ();
}

Remarks

To check if an FTP client is connected to an FTP server a NOOP (No Operation) command is sent to the FTP server. If a connection has been lost then a value of false will be returned and an FtpConnectionLostEvent is fired.

See Also