Rebex FTP for .NET

Ftp.BeginRemoveDirectory Method 

Deletes an empty remote directory with a specified pathname.

public IAsyncResult BeginRemoveDirectory(
   string remotePath,
   AsyncCallback callback,
   object state
);

Parameters

remotePath
Remote directory pathname.
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 RMD command.

See Also

Ftp Class | Rebex.Net Namespace