Friday, July 27, 2012

Removing a directory using XML-API

December 30, 2010 by  
Filed under cPanel

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. [...]