php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11842 ftp_rawlist and ftp_nlist dont show list in directory that has spaces in it
Submitted: 2001-07-02 13:44 UTC Modified: 2001-10-02 04:42 UTC
From: douglas at feevale dot br Assigned:
Status: Closed Package: FTP related
PHP Version: 4.0.4 OS: ftp server on nt 4.0 / apache/ph
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: douglas at feevale dot br
New email:
PHP Version: OS:

 

 [2001-07-02 13:44 UTC] douglas at feevale dot 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>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-16 18:43 UTC] 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-10-02 04:42 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC