#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
From: kase at gmx dot net Date: Thu, 14 Nov 2002 23:41:20 +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-24924@lists.php.net to get a copy of this message
ID: 16057
Comment by: kase@gmx.net
Reported By: ryan@wonko.com
Status: Closed
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.1.2
New Comment:
I have the same problem with PHP 4.2.3, win2k and apache 1.3.26
Both, ftp_rawlist and ftp_nlist do not work on my localhost ftp. On
remote ftps, the functions work.
Previous Comments:
------------------------------------------------------------------------
[2002-10-29 10:05:43] cstoll@ecpi.edu
I just installed the 4.2.3 version and ftp_rawlist() and ftp_nlist()
are not working. I was using version 4.2.0 and they worked.
I guess this is still an open issue (bug!).
Server Specs:
Windows 2000 Adv. Server / IIS 6.0 / Win2k SP2 installed
------------------------------------------------------------------------
[2002-10-24 00:05:32] chris@minotaur.org.uk
ftp_rawlist() and ftp_nlist() still appear to be broken in PHP 4.2.3. I
have tested with both Apache 1.3.27 and IIS 6.
------------------------------------------------------------------------
[2002-10-21 03:34:00] person_joachim@hotmail.com
I'm having problems with ftp_rawlist(). I'm running Abyss Web Server,
Win XP and latest ver of PHP. ftp_rawlist() doesn't seem to work when
directories haves spaces in them. Does anyone have a solution on this
problem?
------------------------------------------------------------------------
[2002-10-17 14:15:38] ospring@mailfrance.com
Using Windows 2000 SP3
PHP 2.3.0
the funtions ftp_rawlist and ftp_nlist are still a problem.
When I try to get the ftp list on my LOCAL (127.0.0.1) machine ftp
server, the script fails (timeout)
but it works on other remote ftp server...
you will say "your ftp server is not working or is not well
configured..." I say:
if i use this script on an linux machine with PHP (different from the
one where my ftp server is), to connect to this ftp server: it works
!!!!!!!!
Moreover, my ftp server log says that the LIST command is correctly
executed:
230 User logged in, proceed.
CWD /upload/
250 Directory changed to /upload
PORT 127,0,0,1,6,149
200 PORT Command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
but the php script hangs on ftp_rawlist....
here is the script:
<?php
$conn=ftp_connect("localhost",21);
if(ftp_login($conn,"login","mypass")){
if(ftp_chdir($conn,"/")){
print_r(ftp_rawlist($conn,""));
//print_r(ftp_nlist($conn,""));
}else{
print("chdir error");
}
}else{
print("login error");
}
?>
------------------------------------------------------------------------
[2002-08-24 13:39:57] david_c11@yahoo.com
Very strange.. Instead of using the installshield version, I downloaded
the zip version today, and it seems to be working (same version,
4.2.2). I'm still using PHP as an executable in IIS.
------------------------------------------------------------------------
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
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 (#24924) | next » |
|---|