Recovers deleted files from the NetWare server, using UTF-8 strings.
#include <nwdel.h>
or
#include <nwcalls.h>
NWCCODE N_API NWRecoverDeletedFileExt (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
nuint32 iterHandle,
nuint32 volNum,
nuint32 dirBase,
pnstr8 delFileName,
pnstr8 rcvrFileName);
(IN) Specifies the NetWare server connection handle containing the deleted file.
(IN) Specifies the directory handle of the directory containing the file to recover.
(IN) Specifies the number returned by NWScanForDeletedFilesExt.
(IN) Specifies the number returned by NWScanForDeletedFilesExt.
(IN) Specifies the number returned by NWScanForDeletedFilesExt.
(OUT) Points to the name of the erased file, using UTF-8 characters.
(OUT) Points to the name to use in recovering the file, using UTF-8 characters.
These are common return values; see Return Values for C for more information.
Files deleted by a client are moved to a holding area on the volume until they are either purged, restored (by calling NWRecoverDeletedFileExt), or replaced by other deleted files.
NWRecoverDeletedFileExt can recover the deleted file and give it a new name. This feature alleviates problems with recovering a file when a new file exists with the same name. The application must specify the file name in rcvrFileName, not the path. No wildcards are allowed.