On Jan 18, 2013, at 9:53 AM, KISE <wowk...@gmail.com> wrote: > Hi > > II would like to see "ftp_dir_exists()" function in PHP, right now its > kinda unreasonable to expect people to use hacks such as "is_dir()" and > having to re-authenticate just to check if the dir exists, I also dont > think its good idea to use "ftp_chdir()" just to check if the directory > exists, because its shows errors if the directory doesn't exists. i think > there should be a way to check if the directory exists without having to > resort to hackish ways, or having to authenticate again.
There are procedures in place for this. If you'd like to make a feature request, use bugs.php.net and submit the request with the FTP extension selected. You can also use https://wiki.php.net/rfc if you really want to see/make the change as well.