#28865 [Com]: Functions ftp_*list

From: Date: Tue, 21 Nov 2006 18:38:16 +0000
Subject: #28865 [Com]: Functions ftp_*list
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105264@lists.php.net to get a copy of this message
ID: 28865 Comment by: rezeptdb at mhennicke dot de Reported By: 336764 at 163 dot com Status: No Feedback Bug Type: FTP related Operating System: MandRake 10 PHP Version: 5.0.0RC3 Assigned To: pollita New Comment: Hello PHP-bug-Crew, the bug from function ftp_nlist() is in PHP5.2.0 always still present. If I set permissions on /tmp to 777, and the safemod open_basedir restriction is in effect, PHP is blocking access by using ftp_nlist(). For fixing the problem, I be very happy. Best Regards rezeptdb Previous Comments: ------------------------------------------------------------------------ [2005-09-06 01:02:23] sugeeth7180 at yahoo dot com Hi I used ftp_nlist to list the contents of a directory.It is working well in one server while it doesn't gave an out put in another server.Could you please suggest a solution Sugeeth ------------------------------------------------------------------------ [2004-11-08 11:04:31] p1pp0 at email dot it ftp_rawlist ($conn_id, ftp_pwd($conn_id)) Warning: ftp_rawlist(): Unable to create temporary file. Check permissions in temporary files directory ------------------------------------------------------------------------ [2004-07-22 09:20:12] flagman_ at rambler dot ru In php ver. 4.3.8 the temporary file have creates with chmod 600 and belongs to root, in that case apache can`t operate on that file and reports: Warning: ftp_rawlist(): Unable to create temporary file. Check permissions in temporary files directory ------------------------------------------------------------------------ [2004-07-02 01:00:03] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2004-06-24 02:15:45] pollita@php.net Now that you've changed your environment variable settings, and gotten tmpfile() to work, do ftp_nlist() and/or ftp_rawlist() work as expected? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28865 -- Edit this bug report at http://bugs.php.net/?id=28865&edit=1

« previous php.bugs (#105264) next »