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

Ftp.SendCommandAsync Method

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

SendCommandAsync(String, Object)

Begins asynchronous SendCommand operation. Executes a command on the FTP server.

Declaration
public Task SendCommandAsync(string command, object state = null)
Parameters
Type Name Description
String command

Command (e.g. "HELP").

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
Remarks

Must be followed by a call to ReadResponse method.

Use ReadResponse and SendCommand to implement various custom commands.

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