#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
| From: | sebi at yetzt dot mine dot nu | Date: | Mon, 20 Jan 2003 11:08:41 +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-30661@lists.php.net to get a copy of this message | ||
ID: 16057
Comment by: sebi@yetzt.mine.nu
Reported By: ryan@wonko.com
Status: Closed
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.1.2
New Comment:
workaround:
if you try a »ftp_chdir($connectionpointer, "/");« first, there's no
longer a problem to run ftp_nlist under my configuration.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2002-11-30 02:57:56] alex.dow@psikon.com
After 20 minutes scratching my head, I finally downloaded the latest
snapshot of PHP, which upgraded me from v4.2.3 to v4.3.0dev, the
problem was resolved.
I suggest all head to http://snaps.php.net and upgrade...
Alex.
------------------------------------------------------------------------
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