[
https://issues.apache.org/jira/browse/NET-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072653#comment-16072653
]
Sebb commented on NET-639:
--------------------------
Thanks for the report and patches. Applied with minor tweaks:
URL: http://svn.apache.org/viewvc?rev=1800686&view=rev
Log:
NET-639 - MVSFTPEntryParser.preParse - MVS, z/OS - allow for merged Ext/Used
fields
Modified:
commons/proper/net/trunk/src/changes/changes.xml
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParserTest.java
BTW, the patches were reversed so did not work initially (had to use reverse
option).
> Bug in MVSFTPEntryParser.preParse - MVS, z/OS
> ---------------------------------------------
>
> Key: NET-639
> URL: https://issues.apache.org/jira/browse/NET-639
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 3.6
> Environment: different clients running Windows 7, AIX, Ubuntu 16.04
> IBM FTP CS V2R1 as ftp host running z/OS 02.01.00
> Reporter: Alexander Eller
> Priority: Minor
> Labels: MVS, z/OS
> Fix For: 3.7
>
> Attachments: MVSFTPEntryParser.patch, MVSFTPEntryParserTest.patch
>
>
> Some PS-files couldn't be retrieved from ftp host (during
> FTPClient.listFiles("xxx")). After investigation we've noticed, that the file
> has an unusual large allocation info (reading
> {code:java}
> Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname
> : : : : : : : : : :
> PEZ320 3390 2017/07/03 215807 FB 29600 29600 PS
> 'LBP.TX.FTP.LAZAGDOM.WORK.HILF'
> : : : : : : : : : :
> {code}
> so the values of ext and used column merged. As a result, the pattern
> FILE_LIST_REGEX in MVSFTPEntryParser doesn't match -> the file is ignored.
> Quick Fix in Comments described ...
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)