#18803 [Opn->Csd]: FTP function ftp_rawlist takes very long in some cases
| From: | kalowsky@php.net | Date: | Sat, 10 Aug 2002 13:30:34 +0000 |
| Subject: | #18803 [Opn->Csd]: FTP function ftp_rawlist takes very long in some cases | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16431@lists.php.net to get a copy of this message | ||
ID: 18803
Updated by: kalowsky@php.net
Reported By: dennisre@gmx.de
-Status: Open
+Status: Closed
Bug Type: FTP related
Operating System: red hat 7.1
PHP Version: 4.2.2
New Comment:
I have now tried this on 3 different architectures, all with local ftp
servers, all downloading a 15MB file. It takes mere seconds on each of
them.
MacOSX 10.1.5
FreeBSD 4.6
Windows2000
I cannot reproduce either of these two problems on any of these
architectures. Thus I believe it is an end user configuration and not
a PHP bug. I've even been using your test script.
Previous Comments:
------------------------------------------------------------------------
[2002-08-10 07:18:10] wez@php.net
If it is only a problem when using a local server, perhaps
you should check your DNS settings on that machine:
I suspect that your ftp server is trying to reverse map
the ip address of the machine running your script and that
is the cause of the delay.
There are two solutions: correct the DNS configuration, or
disable name resolution and reverse mapping in your ftp
server configuration.
------------------------------------------------------------------------
[2002-08-09 21:15:58] dennisre@gmx.de
I am pretty sure that there is a problem with PHP. I was able to
reproduce this on Windows 2000 if I use the local FTP server. It's the
same with Red Hat 7.1. If I use the local FTP server it doesn't work,
if I use an non-local FTP server it works.
------------------------------------------------------------------------
[2002-08-09 10:18:56] kalowsky@php.net
I can't reproduce this and you can't seem to on other machines. I'm
going to say this looks like a local user configuration issue, and not
a PHP issue.
------------------------------------------------------------------------
[2002-08-09 10:14:10] dennisre@gmx.de
I have tested it with an IIS 5.0 FTP Server and it seams to work.
------------------------------------------------------------------------
[2002-08-09 00:29:02] kalowsky@php.net
yet again, unable to re-produce on any of my test machines. Can
someone with Linux try this as well?
And can you please try using a non-ProFTPd server? Just curious if
it's specific to ProFTP or not.
------------------------------------------------------------------------
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/18803
--
Edit this bug report at http://bugs.php.net/?id=18803&edit=1