Rebex FTP for .NET

Ftp.BeginSite Method 

Executes site-specific command and returns the response.

public IAsyncResult BeginSite(
   string command,
   AsyncCallback callback,
   object state
);

Parameters

command
Site-specific command.
callback
An optional asynchronous callback to be called when the operation is complete.
state
A user-provided object that identifies this particular asynchronous operation.

Return Value

An IAsyncResult that references the asynchronous operation.

Remarks

Represents FTP SITE command.

Using SendCommand or BeginSendCommand and ReadResponse or BeginReadResponse methods might be a better choice in some cases.

See Also

Ftp Class | Rebex.Net Namespace