Ftp.ReadResponseAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
ReadResponseAsync(Object)
Begins asynchronous ReadResponse operation. Returns the response of the FTP server to the command.
Declaration
public Task<FtpResponse> ReadResponseAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<FtpResponse> | Response of the FTP server. |
Remarks
Must be preceded by a successful call to SendCommand method.
Use ReadResponse and SendCommand to implement various custom commands.