I want to remove a file by using API with php, but it seem doesn’t work.
what wrong with this?
//Remove Unwanted Files.
if($name==“record.txt”){
echo $id = $output[‘.id’];
$ARRAY= $API->comm(“/file/remove”, array(“.id”=>“$id”));
echo “File Removed”;
}