STD.File.CreateExternalDirectory( location, path [ , planename ] )
location | A null-terminated string containing the IP address of the remote machine. Optional if planename is provided. |
path | A null-terminated string containing the directory path to create. |
planename | A null-terminated string containing name of the data plane containing the file. Optional if location is provided, but planename is preferred. |
The CreateExternalDirectory function creates the path on the location (if it does not already exist). The dafileserv utility program must be running on the location machine.
Example:
IMPORT STD; IP := ''; path := '/var/lib/HPCCSystems/dropzone/advancedtraining/'; planename := 'mydropzone'; STD.File.CreateExternalDirectory(IP,path,planename);