Removing a directory using XML-API
In the previous article, we have shown you how to connect to cPanel’s front end (2082/2083) ports. In this article we will show you how to delete a directory in your file system using XML-API in PHP. Let’s say you want to delete a directory named ‘deleteme‘ in public_html directory. So the path is /home/USER/public_html/deleteme. [...]