Sends the NOOP command to the server to keep the connection alive.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Sub KeepAlive
C#
public void KeepAlive()

Implements

IFtp..::..KeepAlive()()()()

Remarks

Represents FTP NOOP command.

Call this if you do not want the connection to the server to time out.

Some servers ignore NOOP command. On such servers, try calling GetCurrentDirectory instead.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also