Unable to delete the subdirectory. It shows it may not be empty

I have uploaded wordpress file in file manager. Unfortunately remove that, but wp-content file can’t delete. It show the error message Unable to delete the subdirectory /htdocs/wp-content/test - it may not be empty

What are you using to try and delete it?