Rebex FTP for .NET

Ftp.BeginDeleteFile Method 

Deletes the file on the server,

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

Parameters

remotePath
The pathname of the file to be deleted. Either an absolute pathname or relative to the current working directory.
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 DELE command.

See Also

Ftp Class | Rebex.Net Namespace