MoveExternalFile
STD.File.MoveExternalFile
STD.File.MoveExternalFile
File.MoveExternalFile
MoveExternalFile
( location, frompath, topath
)
location
A null-terminated string containing the IP address of the
remote machine.
frompath
A null-terminated string containing the path/name of the file
to move.
topath
A 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);