Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.KeepAliveAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

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
IFtp.KeepAliveAsync(Object)
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.

In This Article
  • KeepAliveAsync(Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies