V+ Remote Library Documentation TYPE "Failure to append line on file: ", status END ; Copy the file from the PC to the controller $to.file = "DISK>D:\log.txt" CALL rm.pc.fcopy($file, $to.file, 3, status) IF (status TYPE "Unable to copy the file to the controller: ", status END ; List all files on the PC $file.spec = " C:\*.txt " CALL rm.pc.fdir($file.spec, 3, num.items, $items[], types[], status) IF (status TYPE "Unable to delete the file from the PC:
", status END FOR i = 1 TO num.items TYPE $items[i-1] IF (types[i-1] == 0) THEN TYPE " Is a file" ELSE TYPE " Is a directory" END END ; Delete the file on the PC CALL rm.pc.fdel($file, 3, status) IF (status TYPE "Unable to delete the file from the PC: ", status END .END rm.pc.log($source, $text, wait.time, status) Abstract Append text to the AceServer log on the PC. Input Parameters Parameter Description $source The source generating the log message. $text The text to append to the log. wait.time The amount of time to wait for the operation to complete. Output Parameters Parameter Description status Status of the operation: 0 = success, ACE Reference Guide, 18317-000 Rev A Page 826