Bug #11842 Updated: ftp_rawlist and ftp_nlist dont show list in directory that has spaces in it
| From: | sniper@php.net | Date: | Thu, 16 Aug 2001 22:43:15 +0000 |
| Subject: | Bug #11842 Updated: ftp_rawlist and ftp_nlist dont show list in directory that has spaces in it | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63479@lists.php.net to get a copy of this message | ||
ID: 11842
Updated by: sniper
Reported By: douglas@feevale.br
Old Status: Open
Status: Feedback
Bug Type: FTP related
Operating System: ftp server on nt 4.0 / apache/ph
PHP Version: 4.0.4
New Comment:
I can't reproduce this with PHP 4.0.7-RC1 when
I connect to wu-ftpd 2.6.1 server.
What is the version of the ftpd on the machine you're
connecting to?
And could you please try with PHP 4.0.6?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-07-02 13:44:53] douglas@feevale.br
<html>
<body>
<?php
$conn_id = ftp_connect("ftp.feevale.br");
$login_result = ftp_login($conn_id, "anonymous", "douglas@feevale.br");
echo "/Alexandre_Zeni/Administracao/Produção II<BR>\n";
ftp_chdir ($conn_id, "/Alexandre_Zeni/Administracao/Produção II");
$ftp_dir_corrente = ftp_pwd($conn_id);
$ftp_lista_dir_corrente = ftp_rawlist ($conn_id, $ftp_dir_corrente);
echo $ftp_lista_dir_corrente."<BR>\n" ;
echo "/Alexandre_Zeni/Administracao/Projetos<BR>\n";
ftp_chdir ($conn_id, "/Alexandre_Zeni/Administracao/Projetos");
$ftp_dir_corrente = ftp_pwd($conn_id);
$ftp_lista_dir_corrente = ftp_nlist ($conn_id, $ftp_dir_corrente);
echo $ftp_lista_dir_corrente."<BR>\n" ;
ftp_quit($conn_id);
?>
</body>
</html>
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11842&edit=1