Back to Program Loader Commands
CMD_PGM_DELETE

Command:          CMD_PGM_DELETE
Destination:          SD_PGM
Destination Channel:  0

Description

Clients use this command to delete a file (program) from the . Only files uploaded with the CMD_PGM_UPLOAD command may be deleted.


Command Data Format

Name
32 bytes
Name
This is the filename of the file (program) to be deleted from the . If the name is less than 32 bytes long, it should be null padded.


Response Data Format

none


Response Return Codes

RESP_OK Execution of the command was successful.
RESP_INVAL_PARAM The file does not exist or it was not uploaded via CMD_PGM_UPLOAD.
RESP_UNSUPPORTED This command is not supported on the specified channel.
RESP_UNREG The specified source channel is not registered with the server.
RESP_UNKNOWN_ERR An unknown error occurred.

|Top|