[
https://issues.apache.org/jira/browse/NET-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910034#comment-13910034
]
pavan commented on NET-516:
---------------------------
I have attached a sample test case where i have captured the raw bytes from the
list files command, then read using ISO-8859-1 encoding (as we are doing in
ftpclient when no control encoding is specfied) in the same way as in
FTPClient. Then matching the entries with the regEx present in the
NTFTPEntryParser. Please let me know is it suffice for your test case
> parser problem occurs if the filename contains one or more characters of
> which the second byte of Shift-JIS code is 0x85
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: NET-516
> URL: https://issues.apache.org/jira/browse/NET-516
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 2.0
> Environment: windows
> Reporter: Asha K S
> Fix For: 2.0
>
> Attachments: FTPSample.java, FTPTestSample.java, IIS FTP Files.zip,
> listfilesStreamBytes.txt, notworking.png, working.png
>
>
> Problem occurs if the filename contains one or more characters of which the
> second byte of Shift-JIS code is 0x85, on a windows Japanese machine when
> listing file names from IIS FTP server.
> This was working fine in commons-net-1.4.0.jar .
> [This relates to the NTFTPEntryParser]
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)