Rebex FTP for .NET

Ftp.BeginKeepAlive Method 

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

public IAsyncResult BeginKeepAlive(
   AsyncCallback callback,
   object state
);

Parameters

callback
An optional asynchronous callback to be called when the operation is complete.
state
A user-provided object that identifies this particular asynchronous operation.

Return Value

An IAsyncResult that references the asynchronous operation.

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.

See Also

Ftp Class | Rebex.Net Namespace