EMI.SYS.FILE.DEL
This method removes a file from the local temp folder.
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| session | JSON String | yes | Session ID |
| filename | JSON String | yes | Specify the file name to be deleted |
Response
No response result returned if request is successful.
Error Codes
| Reference | Description |
|---|---|
| EOK | No errors (contains warnings) |
| ENOTFOUND | The specified file not found |
| EGENERAL | Some other error |
| ESESSION | Session with the given ID is not found |
Examples
Request to EMI-RPC Server:
{
"EMI-RPC": "1.0",
"id": 1,
"method":"emi.sys.file.del",
"params":{
"session":"some_session_id",
"filename":"file.txt"
}
}
Response from EMI-RPC Server:
{
"EMI-RPC": "1.0",
"id": 1
}
