|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21070 ftp_rawlist - Permissions on listing
Submitted: 2002-12-17 14:25 UTC Modified: 2004-03-09 07:21 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: PaulMenard1 at yahoo dot com Assigned: pollita (profile)
Status: No Feedback Package: FTP related
PHP Version: 4.3.0RC3 OS: Win2k Advanced Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: PaulMenard1 at yahoo dot com
New email:
PHP Version: OS:


 [2002-12-17 14:25 UTC] PaulMenard1 at yahoo dot com

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;

$conn = ftp_connect("<Remote hostname here>");
ftp_login($conn, "<User Name>", "<Password>");
$nlist = ftp_nlist($conn, "");
$rawlist = ftp_rawlist($conn, "");

echo "<pre>";
echo "</pre>";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-19 18:55 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

IIS/Win32 permission issue, not a PHP problem.
 [2004-03-04 17:25 UTC]
Please try the next stable snapshot (Source Snapshot dated AFTER 3/4/2004 20:30 GMT, or Win32 Binary snapshot dated AFTER 3/4/2004 21:30 GMT) available at

 [2004-03-09 07:21 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 17:01:32 2024 UTC