Function NnetSalvag() Foundation

Recovers files marked for deletion.

Syntax
NnetSalvag( <cVolume|cOldFile> , ;
            [<cNewFile>]         ;   // Default: <cOldFile>
          ) --> cRecoveredFile
Return

Returns the name of the recovered file as a string or a null string in case of an error.

Description

NetWare 2.x

Only <cVolume> can be specified under NetWare 2.x since this version allows to recover files only for an entire volume. NnetSalVag() recovers the first file found that was marked for deletion. To recover all deleted files call NnetSalVag() until a null string is returned.

NetWare >3.x

Under NetWare 3.x a particular file <cOldFile> can be recovered and optionally renamed to <cNewFile>. To recover all deleted files under 3.x collect the file names using NnetSalLst() and traverse the array.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.