ftp_nlist() problems
| From: | Frank M. Kromann | Date: | Fri, 25 Mar 2005 12:41:43 +0000 |
| Subject: | ftp_nlist() problems | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-15596@lists.php.net to get a copy of this message | ||
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