PHP ftp_rmdir( ) functionThe ftp_rmdir() function is used to delete a directory on the FTP server. This function was introduced in PHP 4. Syntax:
Return value:The ftp_rmdir()function returns TRUE on success and FALSE on failure. Important note: A directory must be empty before it can be deleted.Example 1Output: Example 2Output: Example 3Output:
Next TopicPHP FTP
|