ftp_rawlist working as Admin and not working as normal user

From: Date: Fri, 27 Dec 2002 21:02:56 +0000
Subject: ftp_rawlist working as Admin and not working as normal user
Groups: php.general php.windows 
Request: Send a blank email to php-windows+get-17569@lists.php.net to get a copy of this message
All, Seasons greeting to all. I'm running PHP version C:\>php-cgi.exe -v PHP 4.3.0RC2 (cgi-fcgi), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.4.0, Copyright (c) 1998-2002 Zend Technologies under windows 2000 server for production and windows 2000 prof for development. I am using IIS 5 as the Web server and have tried the following under both the php-cgi.exe and the isapi.dll (php4isapi.dll) versions. I have written a Web page that will allow an authenticated user to FTP to a remote server and upload/download files etc. This is very loosly based on the WebFTP PHP application I had found last year. My PHP script works when calling 'ftp_rawlist()' and 'ftp_nlist()' only if I authenticate as an Administrator level account. If I connect as a normal user the 2 functions return nothing. It is obviously a permission issue, right? I have PHP installed on systems as 'D:\PHP' for this folder and all sub-folders I have added any and all users and groups. Still the functions fail. I tried moving all dll files to the 'C:\WINNT\System32' folder and still nothing. I've verified the TMP and TEMP environment variables are pointing to valid folders, and that these folders also have full open permissions. At this point I am stuck and am looking for some help on how to dig into this issue an arrive at a solution. Any takers? __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

« previous php.windows (#17569) next »