#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
| From: | sean at abcvoice dot com | Date: | Tue, 13 Jan 2004 14:03:34 +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-53250@lists.php.net to get a copy of this message | ||
ID: 16057
Comment by: sean at abcvoice dot com
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:
Hate to be a "Me Too" poster, but:
OS: Windows XP (SP1)
PHP: 4.3.2
When connecting to an FTP and getting a rawlist, if I'm getting the
root directory and it contains a colon (:) then rawlist (and nlist)
return nothing. If I'm getting a rawlist of something in a subdirectory
of root (even if root contains a colon) then it works every time.
Previous Comments:
------------------------------------------------------------------------
[2004-01-10 13:19:21] bug at nexus-zone dot com
same problem apears on version 4.3.4
will it ever work?
------------------------------------------------------------------------
[2003-12-23 14:35:29] mfeldNOSPAMPLEASE at mftronic dot de
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);
------------------------------------------------------------------------
[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/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16057
--
Edit this bug report at http://bugs.php.net/?id=16057&edit=1