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

Ftp.SiteAsync Method

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

SiteAsync(String, Object)

Begins asynchronous Site operation. Executes site-specific command and returns the response.

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

Site-specific command.

Object state

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

Returns
Type Description
Task<String>

Command-specific response.

Remarks

Represents FTP SITE command.

Using SendCommand and ReadResponse method might be a better choice in some cases.

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