#21070 [Bgs->Fbk]: ftp_rawlist - Permissions on listing
| From: | pollita@php.net | Date: | Thu, 04 Mar 2004 22:25:58 +0000 |
| Subject: | #21070 [Bgs->Fbk]: ftp_rawlist - Permissions on listing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55931@lists.php.net to get a copy of this message | ||
ID: 21070
Updated by: pollita@php.net
Reported By: PaulMenard1 at yahoo dot com
-Status: Bogus
+Status: Feedback
Bug Type: FTP related
Operating System: Win2k Advanced Server
PHP Version: 4.3.0RC3
-Assigned To:
+Assigned To: pollita
New Comment:
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 http://snaps.php.net
Previous Comments:
------------------------------------------------------------------------
[2002-12-19 18:55:45] iliaa@php.net
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 http://www.php.net/support.php 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.
------------------------------------------------------------------------
[2002-12-17 14:25:09] PaulMenard1 at yahoo dot com
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 this bug report at http://bugs.php.net/?id=21070&edit=1