#28865 [Opn->Fbk]: Functions ftp_*list

From: Date: Mon, 21 Jun 2004 15:59:13 +0000
Subject: #28865 [Opn->Fbk]: Functions ftp_*list
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-61158@lists.php.net to get a copy of this message
ID: 28865 Updated by: pollita@php.net Reported By: 336764 at 163 dot com -Status: Open +Status: Feedback Bug Type: FTP related Operating System: MandRake 10 PHP Version: 5.0.0RC3 -Assigned To: +Assigned To: pollita New Comment: What does the ouput of this show? var_dump(tmpfile()); Previous Comments: ------------------------------------------------------------------------ [2004-06-21 09:39:35] 336764 at 163 dot com Description: ------------ Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory. in /web/browse.inc.php on line 181 Warning: ftp_rawlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory. in /web/browse.inc.php on line 181 /tmp is chmod 777 and other temporary directory is 777 too. Reproduce code: --------------- $rawlist = ftp_rawlist($conn_id, "-a"); $rawlist = ftp_rawlist($conn_id, ""); $rawlist = ftp_nlist($conn_id, "-a"); $rawlist = ftp_nlist($conn_id, ""); Expected result: ---------------- Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory. /web/browse.inc.php on line 181 Actual result: -------------- list all files to array. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28865&edit=1

« previous php.bugs (#61158) next »