ID:               25143
 Comment by:       sylvain-ad0406 at apinc dot org
 Reported By:      zhuzhi at scxxt dot com dot cn
 Status:           Bogus
 Bug Type:         FTP related
 Operating System: linux 7.3
 PHP Version:      4.3.2
 New Comment:

Hi,
I got the same problem, using PHP 4.3.4 and so far I found no solution.
It appears that the function works in some conditions and do not in
other. The perfect bug ...
And it also appears that noone knows what are these "working
conditions" ...
:)

Sylvain


Previous Comments:
------------------------------------------------------------------------

[2004-01-05 11:02:09] tim dot dewees at mtginfo dot com

I ran into the same issue with this 'bug' and found that the SAME code
works on php 4.3.4!

------------------------------------------------------------------------

[2003-08-19 04:31:38] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Works fine here.


------------------------------------------------------------------------

[2003-08-19 02:48:29] zhuzhi at scxxt dot com dot cn

thanks for your help.
But unfortunately, THE PROBLEM REMAIN! I have tried several times with
php4.2.3\php4.3.2 and the version you supplied.
Anyone else can help me???

------------------------------------------------------------------------

[2003-08-19 01:36:00] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

[2003-08-19 01:34:28] zhuzhi at scxxt dot com dot cn

Description:
------------
I just tried to FTP some files to a linux server with a php file. When
I tried this in local machine(W2K + apache 1.3.27 + php4.2.3), all were
right, but when I upload my scripts to the web server(RH linux 7.3 +
apache 2.0.49 + php 4.3.2) and tried it again, the scripts did nothing.
I tried to add "echo" in the scripts and I found ftp_rawlist() and
ftp_nlist() did not work at all. But all were right in my local
machine!

Reproduce code:
---------------
the following is the code 
<?
$conn=ftp_connect($server,$port);
ftp_login($conn,$name,$passwd);

$rawlist=array();
$nlist=array();

$rawlist=ftp_rawlist($conn,"/");
$nlist=ftp_nlist($conn,"/");

foreach($rawlist as $item) {
echo $item;
}
?>

Expected result:
----------------
so please give me some ideas of this problem ASAP,thanks. Because I
need this urgently!



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25143&edit=1

Reply via email to