You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ShanWenCheng (JIRA)" <ji...@apache.org> on 2008/04/03 05:00:24 UTC

[jira] Updated: (NET-210) FTPClient.listFiles() can't display the correct character like '(' that is FULL char of '('

     [ https://issues.apache.org/jira/browse/NET-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ShanWenCheng updated NET-210:
-----------------------------

    Description: 
The file name on soloaris 9 is 「abc(test)123.pdf」,
after listFiles() is called and display the file name on Windows XP, 
 「abc(test)123.pdf」became「abc?]test?^[123.pdf」.

Because of this issue, i can't use the real name to downlad file,
i got the 「Exception in thread "main" java.lang.NullPointerException
	at org.apache.commons.net.io.Util.copyStream(Util.java:98)
	at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:399)
	at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1388)」




  was:
The file name on soloaris 9 is 「abc(test)123.pdf」,
after listFiles() is called and display the file name on Windows XP, 
 「abc(test)123.pdf」became「abc?]test?^[123.pdf」.

Because of this issue, i can't using the real name to downlad file,
i got the 「Exception in thread "main" java.lang.NullPointerException
	at org.apache.commons.net.io.Util.copyStream(Util.java:98)
	at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:399)
	at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1388)」





> FTPClient.listFiles() can't display the correct character like '('   that is FULL char of  '(' 
> -----------------------------------------------------------------------------------------------
>
>                 Key: NET-210
>                 URL: https://issues.apache.org/jira/browse/NET-210
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: FTP Server on Solaris 9
> JDK:1.5
> Client Machine:Windows XP
>            Reporter: ShanWenCheng
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> The file name on soloaris 9 is 「abc(test)123.pdf」,
> after listFiles() is called and display the file name on Windows XP, 
>  「abc(test)123.pdf」became「abc?]test?^[123.pdf」.
> Because of this issue, i can't use the real name to downlad file,
> i got the 「Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.commons.net.io.Util.copyStream(Util.java:98)
> 	at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:399)
> 	at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1388)」

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.