Ella Bromberg created NET-705:
---------------------------------

             Summary: 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


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)

Reply via email to