MoveExternalFile

STD.File.MoveExternalFile( location, frompath, topath )

locationA null-terminated string containing the IP address of the remote machine.
frompathA null-terminated string containing the path/name of the file to move.
topathA null-terminated string containing the path/name of the target file.

The MoveExternalFile function moves the single physical file specified by the frompath to the topath. Both frompath and topath are on the same remote machine, identified by the location. The dafileserv utility program must be running on the location machine.

Example:

IP      := '10.150.254.6';
infile  := '/c$/training/import/AdvancedECL/people';
outfile := '/c$/training/import/DFUtest/people';
STD.File.MoveExternalFile(IP,infile,outfile);