NWMoveFileFromDM

Moves file data from an on-line, long term storage medium to a NetWare volume

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Data Migration

Syntax

   #include <nwmigrat.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API NWMoveFileFromDM ( 
      NWCONN_HANDLE       conn,  
      NWDIR_HANDLE        dirHandle,  
      const nstr8 N_FAR  *path,  
      nuint8              nameSpace);
   

Delphi Syntax

   uses calwin32 
    
   Function NWMoveFileFromDM 
     (conn : NWCONN_HANDLE; 
      dirHandle : NWDIR_HANDLE; 
      const path : pnstr8; 
      nameSpace : nuint8 
   ) : NWCCODE;
   

Parameters

conn

(IN) Specifies the NetWare server connection handle.

dirHandle

(IN) Specifies the directory handle associated with the desired name space (optional).

path

(IN) Points to a valid path that points to a file.

nameSpace

(IN) Specifies the name space of the path (see Section 20.5, Name Space Flag Values).

Return Values

These are common return values; see Return Values for C for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x8978

ERR_VOLUME_FLAG_NOT_SET

0x897E

NCP_BOUNDARY_CHECK_FAILED

0x8998

VOLUME_DOES_NOT_EXIST

0x899B

BAD_DIRECTORY_HANDLE

0x899C

INVALID_PATH

0x899E

INVALID_FILENAME

0x89A8

ERR_ACCESS_DENIED

0x89FB

Invalid Namespace (abends the server)

NCP Calls

See Also

NWMoveFileToDM, NWSetDefaultSupportModule, NWGetDMFileInfo