Use the DeleteResults
action to request the deletion of any output file generated by the server, not just temporary files.
Information on the number of files that were deleted and the number of files that were not deleted (because they are currently being used by running processes or shared by other tasks) is written to the server log after the request has been processed.
Certain restrictions might prevent you from deleting a file:
DeleteAllowed
to False
in the configuration file, IDOL Speech Server does not delete the file.http://localhost:15000/action=DeleteResults&TempOnly=True&Token=MTAuMS4zLjgyOjEzMDAwOkFERFRBU0s6LTEyOTk0OTU3Ng==
This example requests the deletion of all files in the temporary directory that are associated with the specified task token.
http://localhost:15000/action=DeleteResults&Task=WavToText
This example requests the deletion of all output files associated with a WavToText
task.
Parameter | Description | Required |
---|---|---|
Label | The output label associated with the file or files to delete. | |
OutputEncoding | The encoding to use for the action output. | |
Task | The type of task to delete the output files for. | |
TempOnly | Whether to delete only files in the temporary directory. | |
Token | Specify a task token so that you delete only files associated with a specific task. |
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
EncryptResponse | Encrypt the output. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Writes output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |
|