AdsDirRemove

Removes an empty directory under the data root.

Harbour-style name: oads_DirRemove (see Server filesystem).

Syntax

UNSIGNED32 AdsDirRemove(ADSHANDLE hConnect, UNSIGNED8 *pucPath);

Parameters

Parameter Type Description
hConnect ADSHANDLE Connection handle (0 = default).
pucPath UNSIGNED8* Relative directory path.

Return Value

AE_SUCCESS (0). Error if not empty or not a directory.

Description

Non-recursive. Delete files first with AdsDeleteFile.

Example

AdsDirRemove(hConn, (UNSIGNED8*)"inbox");

See Also


This site uses Just the Docs, a documentation theme for Jekyll.