#28865 [Com]: Functions ftp_*list
| From: | sugeeth7180 at yahoo dot com | Date: | Mon, 05 Sep 2005 23:02:25 +0000 |
| Subject: | #28865 [Com]: Functions ftp_*list | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84560@lists.php.net to get a copy of this message | ||
ID: 28865
Comment by: sugeeth7180 at yahoo dot com
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:
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
Previous Comments:
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
[2004-06-23 12:04:12] 336764 at 163 dot com
vi /root/.bashrc
Add "TMPDIR=/tmp"
save & exit;
Restart httpd
run php:
var_dump(tmpfile());
get:
resource(2) of type (stream)
------------------------------------------------------------------------
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