I have a site which was originally a static directory, and now is PHP, I still have the old directory there taking up space and not being used. I need to do some maintenance and get rid of it ASAP. I'm using FileZilla as the FTP client, and started it deleting the directory, but it's slow, it's been running for five hours so far and my guess is that it's going to take several days to delete everything. The directory structure is very complex with multiple levels. It seems for each deletion it has to issue a separate command to work down each level of the directory, then do the deletion, then refresh.
Do you have shell access to your account? If you can ssh/telnet in, you can issue a "rm -r -f" with the parent directory... Assuming *nix, of course. -- Derek
I use WT FTP by Ipwich and deleted over 4,000 files in next to no time using this FTP, but I'm not sure how files you are looking to delete. It took about 15 minutes to delete 4,000.
I found a solution here - http://aidan.dotgeek.org/lib/?file=function.rmdirr.php Occasionally it's hanging, with an error - i think from too much recursion - but then I just restart it. Ballpark it's doing 2500 directories and 10,000 files in two minutes.
I wasn't waiting - I was sleeping Had a late night yesterday trying to fix up a problem, and figured by the time I woke up [sleep deprived], it would have deleted everything. Anyway, with the PHP code, everything was deleted in less than an hour. Looks like there were well over 25,000 directories and 100,000 files. Unfortnately - it's not leading to a solution of my real problem, which is corrupted Front Page control files.