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 04:58:24 UTC
[jira] Created: (NET-210) FTPClient.listFiles() can't display the correct character like '(' that is FULL char of '('
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
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?]niko_bom?^[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)」
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (NET-210) FTPClient.listFiles() can't display the correct character like '(' that is FULL char of '('
Posted by "Rory Winston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NET-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rory Winston closed NET-210.
----------------------------
Resolution: Cannot Reproduce
can you supply an example that fails?
commons-net allows you to specify an encoding, I suspect you are using the default Latin-1 encoding with UTF-8 characters.
> 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.
[jira] Updated: (NET-210) FTPClient.listFiles() can't display the correct character like '(' that is FULL char of '('
Posted by "ShanWenCheng (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (NET-210) FTPClient.listFiles() can't display the correct character like '(' that is FULL char of '('
Posted by "ShanWenCheng (JIRA)" <ji...@apache.org>.
[ 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 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)」
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?]niko_bom?^[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 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)」
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.