From: [EMAIL PROTECTED] Operating system: Win2k Advanced Server PHP version: 4.3.0RC3 PHP Bug Type: Output Control Bug description: ftp_rawlist - Permissions on listing
All, Implemenation specifics. OS: Win2k Advanced Server PHP Version: 4.3.0RC3 AS CGI I apologize for bringing this up again. I know everyone is tired of seeing issues on ftp_*() functions. Here is my issue. I have a Web page running on IIS5 Win2k Advanced Server. This page allows the user to enter hostname, username and password. From this form I to the FTP using the standard command. This script works great if I run under and admin level account. If I run under a general user I am able to logon but nothing is reported to the Web page. Funny thing still is if I run the script from a DOS window the output is returned. This has got to be a permissions issue but I do not know where to start. I have verified that everyone has PATH and permission to php-cgi.exe. Below is a snip of the FTP code I started with. And I did change the hostname and password information; <?php $conn = ftp_connect("<Remote hostname here>"); ftp_login($conn, "<User Name>", "<Password>"); $nlist = ftp_nlist($conn, ""); $rawlist = ftp_rawlist($conn, ""); echo "<pre>"; print_r($nlist); print_r($rawlist); echo "</pre>"; ?> -- Edit bug report at http://bugs.php.net/?id=21070&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21070&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21070&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21070&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21070&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21070&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21070&r=support Expected behavior: http://bugs.php.net/fix.php?id=21070&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21070&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21070&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21070&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21070&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21070&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21070&r=isapi