You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/11/06 10:08:07 UTC

DO NOT REPLY [Bug 24456] New: - FTPClient.listFiles can not get file list of directorychinese characters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24456>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24456

FTPClient.listFiles can not get file list of directorychinese characters 

           Summary: FTPClient.listFiles can not get file list of
                    directorychinese characters
           Product: Commons
           Version: 1.1.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: maktub.cis92g@nctu.edu.tw


When I use FTPClient.listFiles(String pathname) to get the file list of 
directory on a ServU2.5k FTP server I found the problem: if the name of 
directory has some chinese characters, then the return is not correct. For 
example, I use listFiles to get the file list of directory "dir中文", the 
result FTPFile array has only one element and this element is "dir中文" itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org