# deleteFileTransferFile
Description: remove the file from the file exchange history and optionally from the disk.
Request example:
{
"method" : "deleteFileTransferFile",
"requestId" : "1",
"fileRequestId" : "050318b4-607c-442e-a3df-33fd739b996f",
"deleteFromDisk" : true
}
Response example:
{
"method" : "deleteFileTransferFile",
"requestId" : "1",
"result" : true
}
Parameter description:
fileRequestId
— the identifier of the file requestdeleteFromDisk
- a flag indicating the need to delete the file from the HTTP serverrequestId
- a unique request identifier. You can learn more about it here.
See also:
- Built-in HTTP server
- getFileRequestInfo
- getFileList
- getFileTransferAvailability
- sendFileToConference
- getOutgoingFilesRequests
- getIncomingFilesRequests
- getFileTransferHistory
- clearFileTransferHistory
- sendFile
- acceptIncomingFileRequest
- rejectIncomingFileRequest
- incomingFileRequestRejected
- incomingFileRequestAccepted
- fileRequestStatusChanged
- fileTransferAvailabilityChanged
- receivedFileRequest
- fileTransferHistoryCleared
- fileDeletedFromFileTransferHistory
- outgoingFileRequestSent
- outgoingFileRequestSentToConference
- incomingFileRequestDownloadingProgress
- outgoingFileRequestUploadingProgress