#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
From: mfeldNOSPAMPLEASE at mftronic dot de Date: Tue, 23 Dec 2003 19:35:30 +0000 Subject: #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-52446@lists.php.net to get a copy of this message
ID: 16057
Comment by: mfeldNOSPAMPLEASE at mftronic dot de
Reported By: ryan at wonko dot com
Status: Closed
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.1.2
New Comment:
I'm using PHP 4.3.2 on WinXP SP1, and when using the ftp_Xlist()
functions, it sometimes works and sometimes not (returns bool(false)) -
almost randomly.
Inserting a "var_dump()" has sometimes increased my chances that such a
call works, like
$dirlist = ftp_rawlist($conn_id, "");
var_dump($dirlist);
Previous Comments:
------------------------------------------------------------------------
[2003-12-16 04:55:45] mnares at cox dot net
This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.
------------------------------------------------------------------------
[2003-12-12 16:19:23] pdavis at pobox dot com
PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.
I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.
------------------------------------------------------------------------
[2002-08-16 10:03:51] iliaa@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
This issue appears to be fixed in the latest CVS. You can grab a
snapshot of it here: http://snaps.php.net/win32/
------------------------------------------------------------------------
[2002-04-02 13:39:32] sander@php.net
Dupe of 13913
------------------------------------------------------------------------
[2002-03-14 02:23:50] ryan at wonko dot com
In the Windows build of PHP 4.1.1, the ftp_nlist() and ftp_rawlist()
functions return absolutely nothing. The following script works just
fine in PHP 4.1.1 on Linux, but fails under Windows, no matter what FTP
server you try to connect to:
<?php
$conn = ftp_connect("ftp.kernel.org");
ftp_login($conn, "anonymous", "anon@anon.com");
$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=16057&edit=1
Thread (46 messages)
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Fbk->NoF]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [NoF->Opn]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Opn->Csd]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Csd]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Csd->Bgs]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
- #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
| « previous | php.bugs (#52446) | next » |
|---|