#25347 [NEW]: ftp_rawlist() returns nothing, when apache runs as service
| From: | spam at come dot no-ip dot com | Date: | Mon, 01 Sep 2003 21:26:56 +0000 |
| Subject: | #25347 [NEW]: ftp_rawlist() returns nothing, when apache runs as service | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47025@lists.php.net to get a copy of this message | ||
From: spam at come dot no-ip dot com
Operating system: Windows XP Pro
PHP version: 4.3.3
PHP Bug Type: FTP related
Bug description: ftp_rawlist() returns nothing, when apache runs as service
Description:
------------
I know there are atleast few bug submittions but they are closed while the
problem is still remain.
I run Apache2 as "apache" user that is member of "USERS" group.
ftp_rawlist() function returns nothing.
I've checked my FTP logs and all I can see that PHP logs into FTP server
and does not sends LIST command.
Windows XP Pro on NTFS + Apache2 + PHP4.3.3 as SAPI module
Reproduce code:
---------------
<?php
$conn = ftp_connect("ftp.symantec.com");
ftp_login($conn,"anonymous","someone@somewhere.com");
$nlist = ftp_nlist($conn, "");
$rawlist = ftp_rawlist($conn, "");
echo "<pre>";
echo "Values from ftp_nlist()<BR>";
print_r($nlist);
echo "Values from ftp_rawlist()<BR>";
print_r($rawlist);
echo "</pre>";
?>
Expected result:
----------------
List of the dirs
Actual result:
--------------
nothing
--
Edit bug report at http://bugs.php.net/?id=25347&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25347&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25347&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25347&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25347&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25347&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25347&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25347&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25347&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25347&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25347&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25347&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25347&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25347&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25347&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25347&r=gnused