Bug #11842 Updated: ftp_rawlist and ftp_nlist dont show list in directory that has spaces in it
| From: | sander@php.net | Date: | Tue, 02 Oct 2001 08:42:08 +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-66999@lists.php.net to get a copy of this message | ||
ID: 11842
Updated by: sander
Reported By: douglas@feevale.br
Status: Feedback
Bug Type: FTP related
Operating System: ftp server on nt 4.0 / apache/ph
PHP Version: 4.0.4
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-08-16 18:43:15] sniper@php.net
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
------------------------------------------------------------------------
[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