FILEDELETE

Deletes files from the currently selected mass storage device

Platform:

OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700

PwrPak7M variants and Legacy CPT7 receivers (PN 80023560) do not support this command.

Use this command to delete a single file, or use the wild card symbol (*) to delete all files, from the logging directory of the currently selected file media. This command will not delete a file if it is currently open for logging. Use the FILESTATUS log to determine the state of the log file.

The wild card symbol deletes all files in the directory. It cannot be used to delete a subset of the files in the directory. For example, the command FILEDELETE *.LOG will be rejected by the receiver.

The file media is separately configured:

  • On receiver cards, the file media is always USBSTICK, which is the only media available.

  • On enclosure products, the active file media is configured using a product-specific command, such as FILEMEDIACONFIG command.

The list of files stored on the currently selected file media can be retrieved using the FILELIST log.

Message ID: 2190

Abbreviated ASCII Syntax:

FILEDELETE FileName

Example:

FILEDELETE NMNE17130016A_2017-12-11_18-17-06.LOG   – Delete the file NMNE17130016A_2017-12-11_18-17-06.LOG

Field

Field Type

Description

Format

Binary Bytes

Binary Offset

1

Command header

FILEDELETE header

This field contains the command name for abbreviated ASCII or the message header for ASCII or Binary.

 

H

0

2

FileName

Name of file to delete, or the wild card symbol (*)

String
(Max 128)

variable1

H