ID: 16057 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: FTP related Operating System: Windows 2000 Advanced Server PHP Version: 4.1.2 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2002-10-24 00:05:32] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2002-08-24 01:04:36] [EMAIL PROTECTED] It's still not working for me... I had 4.2.2, the latest Win32 install-executable version available, and it still wasn't working. So, I tried downloading the latest version from the snapshots site (version 4.3), and I can't get that to even run properly on my IIS 5. >From the command prompt, I can run the php executable, and it seems to work okay. However, all my scripts just hang, (and I think I eventually get a CGI Time-out). I have my IIS set-up to run the php.exe executable (instead of the ISAPI setup). ------------------------------------------------------------------------ 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