I read what you wrote ... but I think it might be a permissions issue.
I also use NetBeans, and when I delete a file from the project window, it first deletes it locally and then syncs with my server.
I go through sftp (using vsftp) as root, which is bad, but you can try this too to make sure that this is a permission problem.
source
share