#18803 [Fbk->Opn]: FTP function ftp_rawlist takes very long in some cases

From: Date: Fri, 09 Aug 2002 14:14:10 +0000
Subject: #18803 [Fbk->Opn]: FTP function ftp_rawlist takes very long in some cases
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16388@lists.php.net to get a copy of this message
ID: 18803 User updated by: dennisre@gmx.de Reported By: dennisre@gmx.de -Status: Feedback +Status: Open Bug Type: FTP related Operating System: red hat 7.1 PHP Version: 4.2.2 New Comment: I have tested it with an IIS 5.0 FTP Server and it seams to work. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-08-08 18:46:11] dennisre@gmx.de Also the file I used for testing is 800KB in size. It took exactly 1 min 30 (seemed to me like 5 mins) with the local proftpd server. There is no problem with small files (15KB). Also after 1 min 30, ftp_rawlist returns a list with one entry, which is an empty string. ------------------------------------------------------------------------ [2002-08-08 18:22:09] dennisre@gmx.de I have tested it with an IIS 5.0 FTP Server and it seams to work. ------------------------------------------------------------------------ [2002-08-08 12:38:04] kalowsky@php.net Again, neither test platform for me fails on this test. Can you try something other than ProFTPd? ------------------------------------------------------------------------ [2002-08-08 12:13:45] dennisre@gmx.de >You realize that your $list is never printed, correct? Yes. The main problem is that it takes about 5 min to execute this code. When you try to reproduce, it is important that: 1) $filename file is a existing file 2) $dest file does not exist 3) the FTP login succeeds also the OS is red hat 7.1 with proftpd 1.2.2 ------------------------------------------------------------------------ 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

« previous php.bugs (#16388) next »