Description:
Delete a file. Argue the name of the file and the first file found to be
matching that name will be deleted. Argue the full path of the file to delete
a specific file. The path information can be found using the
"DIRECTORY P <FILENAME>" command. Deletes are non reversible deletes. This
means that once a file is deleted, IT IS GONE !
To delete by wildcard(s), use the W option followed by a filename with
wildcard(s).
Wildcards accepted are "*" to match any length of characters or a "?" as a
placeholder for any single character.
Form:
DELETE|DEL|DE <OPTION> [FILENAME1 FILENAME2 ... ]
Argument List:
Option Description
W Wildcard. Use this option to specify a filename with wildcards.
Argument Description
FILENAME Case sensitive filname as it appears on the unit.
/PATH/NAME Full filepath to file as it appears on the unit.
Response:
DELETE RESPONSE
Verbose- "ERROR- [Description]\r\n" if any fatal error preventing operation, or
"OK\r\n" to acknowledge receipt of command, followed by
"Deleting <FILENAME>\r\n" for every file deleted, followed by
"OK\r\n" to confirm every file operation or
"ERROR- [Description]\r\n" to report file operation error, concluding with
"Deleted NNNN file(s)\r\n" after all file operations complete
Terse- "[1-n]\r\n" if any fatal error preventing operation, or
"0\r\n" to acknowledge receipt of command, followed by
"<FILENAME>\r\n" for every file deleted, followed by
"0\r\n" to confirm every file operation or
"[NON-ZERO NUMERIC VALUE]\r\n" to report file operation error
"\r\n" concludes modify responses (empty line)
Examples:
Verbose command to delete a file:
DELETE TEST.MPG <enter>
Response is: OK\r\n
Deleting TEST.MPG\r\n
OK\r\n
Deleted 1 File(s)\r\n
Terse command to delete a file:
DE TEST.MPG <enter>
Response is: 0\r\n
TEST.MPG\r\n
0\r\n
Notes:
Products Supporting Command