DeleteExternalFile

STD.File.DeleteExternalFile( location, path [ , planename ] )

locationA null-terminated string containing the IP address of the remote machine. Optional if planename is provided.
pathA null-terminated string containing the path/name of the file to remove.
planenameA null-terminated string containing name of the data plane containing the file. Optional if location is provided, but planename is preferred.

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:

IMPORT STD;
IP   := '';
infile := '/var/lib/HPCCSystems/dropzone/originalperson';
planename := 'mydropzone';
STD.File.DeleteExternalFile(IP,infile,planename);