#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
| From: | falk at surrounded dot de | Date: | Fri, 24 Jan 2003 13:55:44 +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-31139@lists.php.net to get a copy of this message | ||
ID: 16057
Comment by: falk@surrounded.de
Reported By: ryan@wonko.com
Status: Closed
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-01-20 05:08:40] sebi@yetzt.mine.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@yetzt.mine.nu
translation error
it would result nothing, of course, not something :P
------------------------------------------------------------------------
[2003-01-20 04:25:04] sebi@yetzt.mine.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@drmagu.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!
------------------------------------------------------------------------
[2002-12-29 11:06:22] willy@drmagu.com
Just downloaded & installed php 4.3.0 win32.
Neither rawlost or nlist work!
The system appears to hang for a while, and then returns nothing.
My setup
Server
OS Win2k Prof
Web Server: Apache 1.3.20
ftp Service: War FTP 1.65
Tested both local and remote. Neither works.
------------------------------------------------------------------------
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