ID: 16057 Comment by: iwarner at triangle-solutions 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:
I am having similar problems with the latest PHP 4.3.3 The thing is it was working then stopped? Had it set up on a client machine Win 2003, IIS and 4.3.3 - then my client says it is not working anymore? I tried to test on my local XP IIS 4.3.3 and I cannot get it to list even though I connect and can pull up server Timeout. Which buy the way always shows 90 even though my timeout is 1000 seconds. Server FTP logs show this Software: Microsoft Internet Information Services 5.0 #Version: 1.0 #Date: 2003-10-17 03:28:23 #Fields: date time c-ip cs-username s-sitename s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes cs-version cs-host cs(User-Agent) 2003-10-17 03:28:23 218.47.15.57 Administrator MSFTPSVC1 217.158.161.210 21 [31]USER Administrator - 331 0 0 0 FTP - - 2003-10-17 03:28:23 218.47.15.57 Administrator MSFTPSVC1 *** 21 [31]PASS - - 230 0 0 0 FTP - - 2003-10-17 03:28:25 218.47.15.57 Administrator MSFTPSVC1 *** 21 [31]sent /1 - 550 2 0 0 FTP - - 2003-10-17 03:28:25 218.47.15.57 Administrator MSFTPSVC1 *** 21 [31]QUIT - - 550 0 0 Which means I connect it runs a LIST command but nothing is returned to me. I have read about this TEMPFILE creation needed for FTP to use the nlist, rawlist commands I have set my C:/ to enable 'eveyone' FULL CONTROL and still nothing. Can we have a progress report on this please? Previous Comments: ------------------------------------------------------------------------ [2003-01-24 07:55:43] falk at surrounded dot de It definitely works on Windows but not in combination with IIS. Try the same scripts using the shell, e. g. "c:\php\php PATH_TO_SCRIPT". Unfortunately I've got no solution either. ------------------------------------------------------------------------ [2003-01-20 05:08:40] sebi at yetzt dot mine dot nu workaround: if you try a »ftp_chdir($connectionpointer, "/");« first, there's no longer a problem to run ftp_nlist under my configuration. ------------------------------------------------------------------------ [2003-01-20 04:27:12] sebi at yetzt dot mine dot nu translation error it would result nothing, of course, not something :P ------------------------------------------------------------------------ [2003-01-20 04:25:04] sebi at yetzt dot mine dot nu ola! i have the same problem under linux (kernel 2.4), Apache/1.3.23, PHP 4.2.2 my script is similar to much others posted here, any list-command will result something who can help me ------------------------------------------------------------------------ [2002-12-29 11:31:21] willy at drmagu dot com Re: my previous post ... Cockpit Error .. It appears to work fine now. The problem was that I was connecting to the FTP service on the local by giving it a fully qualified DNS name. The localhost sits behind a NAT firewall. Obviously, Apache/PHP connecting to FTP on the same machine got somehow messed up. When using the local machine name, or localhost, the problem resolved itself. Then I tried to connect to one of my FTP servers running on a different host OUTSIDE the local domain, and Bingo .. It just wokred fine. Hope this helps someone. PHP Rocks! ------------------------------------------------------------------------ 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