I have directory with huge number of directories (names by date artwork requested and client id number) with clients artwork.<script snip>
by accident, directory was opened by FrontPage and now in each directory is created _vti_cnf directory with copy of the artwork.
i have to delete all those '_vti_cnf' directories.
Since I don't have root access to server (shared hosting) I made a php script:
But, it doesn't work. I’m getting this Warnings:
Warning: rmdir(20040301-040434-1411/_vti_cnf): Directory not empty in c:\ap\artwork\ap.php on line 19
Is there any other function that allows me to delete even not-empty directories?
Or somebody has better idea?
Thanks.
Afan
According to the documentation (http://us4.php.net/rmdir), the directory must be empty. You can use the Windows system command to delete a non-empty directory with either exec() or by using backticks. Sorry, but I don't remember what the Windows command is (del?).
-- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php