When I use ftp_rmdir () to delete a directory I get an error if the directory contains a file. Can anybody explain how I overcome this.I want the dirctory and contents to be deleted when ftp_rmdir () is called.
Thanks
It looks to me as if the documentation at http://www.php.net for ftp_rmdir() has a solution.
This has always been a property of ftp. But see Andrew Ward's suggestion and RTFM.
Cheers guys. I had to make one mod. using eregi_replace() as my directory was showing in the file name variable. after that works great!