DeleteExternalFile

STD.File.DeleteExternalFile( location, path )

locationA null-terminated string containing the IP address of the remote machine.
pathA null-terminated string containing the path/name of the file to remove.

The DeleteExternalFile function removes the single physical file specified by the path from 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';
STD.File.DeleteExternalFile(IP,infile);