TwclObexFtpClient.Delete(string) Method

Deletes the object with given name.

Namespace: wclObex
public
 function Delete(const Name: string): Integer;

Parameters

Name
Type: string

The object's name.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The object can be any object: file, directory, virtual object.

When the operation completed the OnDeleteComplete event fires.