Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65024 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82720 invoked from network); 18 Jan 2013 15:00:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2013 15:00:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=wfitch@meetme.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=wfitch@meetme.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain meetme.com designates 74.125.149.69 as permitted sender) X-PHP-List-Original-Sender: wfitch@meetme.com X-Host-Fingerprint: 74.125.149.69 na3sys009aog102.obsmtp.com Linux 2.5 (sometimes 2.4) (4) Received: from [74.125.149.69] ([74.125.149.69:52943] helo=na3sys009aog102.obsmtp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/86-24194-C7369F05 for ; Fri, 18 Jan 2013 10:00:13 -0500 Received: from mail-yh0-f71.google.com ([209.85.213.71]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKUPljeWw4BMgHhs65kr/Of0IM8gilK7oU@postini.com; Fri, 18 Jan 2013 07:00:13 PST Received: by mail-yh0-f71.google.com with SMTP id 22so6156584yhr.6 for ; Fri, 18 Jan 2013 07:00:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-received:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to:x-mailer :x-gm-message-state; bh=+DM6/Q92G9iCT1BIOYkVSMPnrOR/dM0Eu8DHeUgYgiY=; b=MWbMa/SB7eSDj/0O2Ott5/xMAttHVRD06j2FCL4ZKRpVh2dcmgxEHgDYG7PiYJkNvh HwZahOxYF8MO4U70TCF1May+4PdKvk1XJ4KdTLwGqeFklq686eJ6WwHr3KeVZB3uDXzC G+/6g+DnDzWqIDjzt2zCXuxiTYkoSPPfMQcxu3X7VHPdxW2t5XDho20r4aW/glzFY8aA hbA5urKyj+AQo760ukbJ0VdatjYtwFtJDIWAdW2jpcgXdSJco0YRhnJf4i78wmp55Yt6 1xU8v1/Yuaq3Pq8x74jOlG12B6jxak0SY+2gVevrJfMXR9v53qh7pBqlt1Wfxijqv6N4 ed3w== X-Received: by 10.52.92.131 with SMTP id cm3mr8566832vdb.110.1358521208851; Fri, 18 Jan 2013 07:00:08 -0800 (PST) X-Received: by 10.52.92.131 with SMTP id cm3mr8566775vdb.110.1358521207779; Fri, 18 Jan 2013 07:00:07 -0800 (PST) Received: from [192.168.110.198] ([204.145.120.11]) by mx.google.com with ESMTPS id dp6sm2567509vec.11.2013.01.18.07.00.05 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Jan 2013 07:00:07 -0800 (PST) Sender: Will Fitch Content-Type: multipart/alternative; boundary="Apple-Mail=_D5EDA139-29D9-4EF0-860F-211251C13D1E" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) In-Reply-To: Date: Fri, 18 Jan 2013 10:00:05 -0500 Cc: internals@lists.php.net Message-ID: <3F59B8D4-01A9-4B97-89D0-4DC21B58F1C0@php.net> References: To: KISE X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQlh67KOaTOlXVxhaVoDB2MqHCAMvLuNnxc0e0cndHZskV/5QdEDHq7wMziJBV41pyo1E3FJ7WzRO7kz19w+/iA+SCcnFcEwznN1/ITILafmJ85pyCYudj9WuktTASodLZNMZrfMV7QLe23xfSVq7qrx7fZ/Hs9Pc5WaFhj78YyjYHpmOgo= Subject: Re: [PHP-DEV] new FTP function From: willfitch@php.net (Will Fitch) --Apple-Mail=_D5EDA139-29D9-4EF0-860F-211251C13D1E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 18, 2013, at 9:53 AM, KISE wrote: > Hi >=20 > 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.= --Apple-Mail=_D5EDA139-29D9-4EF0-860F-211251C13D1E--