Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15596 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22147 invoked by uid 1010); 25 Mar 2005 12:37:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22132 invoked from network); 25 Mar 2005 12:37:52 -0000 Received: from unknown (HELO kromann.info) (127.0.0.1) by localhost with SMTP; 25 Mar 2005 12:37:52 -0000 X-Host-Fingerprint: 64.186.239.125 c-064-186-239-125.oc1.redwire.net Linux 2.4/2.6 Received: from ([64.186.239.125:3672] helo=mail.kromann.info) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 2E/C1-61605-02604424 for ; Fri, 25 Mar 2005 07:37:52 -0500 Received: from warp (unknown [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id 2B8422AE58 for ; Fri, 25 Mar 2005 04:37:50 -0800 (PST) To: X-Mailer: Swwwing 2000 Message-ID: <11117545035080000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Fri, 25 Mar 2005 04:41:43 -0800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: ftp_nlist() problems From: frank@kromann.info ("Frank M. Kromann") Hello Everyone, It seams like ftp_nlist has a small problem when running under Linux. The scripts gives this message 'Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory.' one out of three times. I've added putenv('TMPDIR=/tmp/ftp'); to the code and made use that the Apache user has full access to this folder. This seams to reduce the number of times I'm getting the error but I still get it. Any clues to what might cause this problem? (I'm running php-5.1-dev from a few days ago). - Frank