Re: new FTP function
| From: | Will Fitch | Date: | Fri, 18 Jan 2013 15:00:05 +0000 |
| Subject: | Re: new FTP function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65024@lists.php.net to get a copy of this message | ||
On Jan 18, 2013, at 9:53 AM, KISE <wowkise@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.