Use php to remove a file from the server.
Copy the file below into a php file.
<?PHP $fileArray = array( "filename.jpg", ); foreach ($fileArray as $value) { if (file_exists($value)) { unlink($value); } else { // code when file not found } } ?>