cancel_download
cancel_download($id); - cancel the download with the specified ID (available from version 6.0.55)
the input Function accepts parameters:
$id – upload ID
After testing, the function returns the result of its work to the script :
true – successfully canceledfalse – failed to cancel