Ftp.KeepAliveAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
KeepAliveAsync(Object)
Begins asynchronous KeepAlive operation. Sends the NOOP command to the server to keep the connection alive.
Declaration
public Task KeepAliveAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |
Implements
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.