[
https://issues.apache.org/jira/browse/NET-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441136#comment-17441136
]
Gary D. Gregory commented on NET-705:
-------------------------------------
Since these types of COBOL values are binary, you should transfer the data in
binary mode.
> New lines are added when transferring files from windows to z/OS
> -----------------------------------------------------------------
>
> Key: NET-705
> URL: https://issues.apache.org/jira/browse/NET-705
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 3.8.0
> Reporter: Ella Bromberg
> Priority: Major
>
> Hi,
> while transferring files from Windows to z/OS and we have a problem while
> transferring an Ascii file containing COMP-3 values
> For instance, consider a file with only 1 record x’4D320A0C0D0A’ 6 bytes: “M”
> + “2” + x’0A0C’ (COMP-3 x’250C’) + x’0D0A’ (indicator for end of record)
> We expect to receive only one record EBCDIC x’D4F2250C’ but instead we get
> two records since x’0A’ is converted to x’25’ which is EBCDIC newline
> character (LF)
> Record 1: X’D4F2’
> Record 2: x’0C’
> is it possible to fix so that X’0D0A’ only will be end of line?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)