Ftp.DisconnectAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
DisconnectAsync(Object)
Begins asynchronous Disconnect operation. Informs the server that the connection is about to close and terminates the connection.
Declaration
public Task<string> DisconnectAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<String> | The exit message returned by the server. |
Remarks
Represents FTP QUIT command.