Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisDeleteFile

int ctMemphisDeleteFile( pRCESJson getConnectionStatus, ppRCESJson retError )

Description:

Delete a web server-side file from disk. The file path is relative to the Web Server root path.

HTTP URL: <baseURL>/ctMemphisDeleteFile/

HTTP Verb: POST

Parameters:

  • DeleteFileRequest [IN] - Delete File request in JSON format. For Example:

{

"fileName": "./dump/filename.json"

}

  • retError [OUT] - Result in JSON format. For example:

{

"success": true,

"error":

{

"errorCode": 0,

"message": "success"

}

}

Return:

Error code

TOCIndex