ID: 16057 Comment by: pcatlin at plus dot com Reported By: ryan at wonko dot com Status: Bogus Bug Type: FTP related Operating System: Windows 2000 Advanced Server PHP Version: 4.1.2 New Comment:
Took a while but have now figured out a work around for this VERY annoying little problem. PHP or IIS tries to write a temporary file, but NOT in the c:\windows\temp folder. It writes this file in the C:\ root. With permissions set to allow which ever user PHP is running as access to write this file, ftp_nlist will work. It tries to write a file called c:\t3lo Hope this is useful to other people stuck on this. :) Previous Comments: ------------------------------------------------------------------------ [2004-09-27 00:04:16] Tommy at kak-networks dot net Why dont the devels just fix this prob in 4.x? ------------------------------------------------------------------------ [2004-09-06 14:57:58] [EMAIL PROTECTED] Re-read last comment by pollita. Not a PHP bug (additionaly, it's a duplicate) -> bogus. ------------------------------------------------------------------------ [2004-09-06 14:54:52] henkoooo at hotmail dot com Me too! FTP:ServU build 4.0.0.4 OS:Windows 2000 Server ------------------------------------------------------------------------ [2004-02-12 16:57:07] [EMAIL PROTECTED] As already stated in other duplicates of this bug report. ftp_(n)list requires write permissions to the system's tempoarary directory. IIS's default installation does not include this in the permissions for IUSR. The bug is in system configuration, not PHP. ------------------------------------------------------------------------ [2004-02-06 01:32:57] phpbugs at psychicsms dot com dot au Same here. When I run as Administrator I can execute ftp_rawlist(). When I run as a user, I cannot. ------------------------------------------------------------------------ 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/16057 -- Edit this bug report at http://bugs.php.net/?id=16057&edit=1