Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65023 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80869 invoked from network); 18 Jan 2013 14:53:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2013 14:53:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=wowkise@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=wowkise@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.176 as permitted sender) X-PHP-List-Original-Sender: wowkise@gmail.com X-Host-Fingerprint: 209.85.217.176 mail-lb0-f176.google.com Received: from [209.85.217.176] ([209.85.217.176:35835] helo=mail-lb0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/36-24194-20269F05 for ; Fri, 18 Jan 2013 09:53:55 -0500 Received: by mail-lb0-f176.google.com with SMTP id k6so2741664lbo.21 for ; Fri, 18 Jan 2013 06:53:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=R6M+JZPcOF+ovS9N09NbCE2aKyrqwqnjmaWUnkZpT8o=; b=FBcf5oMllAAOd2fHCLSHsyobEYPJnw933dLDjdPYP8fY28LftBwqlU/8S1/Gifgp0l YusPjnjrABulThrncFwwJjv/EHV0oG/dTCqtS+sIDRGway7HUshzBCEw/iZHetTHhYGm 2Dw4Qhc8br5vW+nold43LU4jYHzZU00rzDgklvabf9aSO1CquTiD0GBzRaVSNdry8Yol z2MWajLcMUCc3tB7A6gTRrqVwA9Jvg81OZpA7cVHn8a/nO+NNxlu37uEsPTww8GGdk5P lZXUMI4Gt2S9kZBHLLGKEReVgwH9WtQfNXAXexgdBClugfIJLz7vue+A0oA2LcTLDSKu Go1w== MIME-Version: 1.0 X-Received: by 10.152.133.67 with SMTP id pa3mr4715849lab.44.1358520831599; Fri, 18 Jan 2013 06:53:51 -0800 (PST) Received: by 10.112.76.229 with HTTP; Fri, 18 Jan 2013 06:53:51 -0800 (PST) Date: Fri, 18 Jan 2013 17:53:51 +0300 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d0434c3969663ad04d39147e5 Subject: new FTP function From: wowkise@gmail.com (KISE) --f46d0434c3969663ad04d39147e5 Content-Type: text/plain; charset=ISO-8859-1 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. --f46d0434c3969663ad04d39147e5--