When using FTP or FTP-SSL you need to do ASCII file type not BINARY.  This 
tells the sending side to convert the file to NVT ASCII that uses CRLF as the 
end of record marker.  The receiver will then convert from NVT ASCII to it's 
native character set and to it's native end of record marker.

For Linux, or Unix, that is LF.  To convert from LF to CRLF you can use the 
UNIX2DOS command.

When z/OS, or z/VM, is involved the ASCII option also causes them to do 
translation between ASCII and EBCDIC as needed.

On Fri, 23 Jan 2026 17:15:22 -0600, Paul Gilmartin <[email protected]> wrote:

>On Fri, 23 Jan 2026 20:25:46 +0000, Farley, Peter \ wrote:
>
>>Use the WSL command line utility unix2dos to convert the line endings of the 
>>downloaded file(s).
>>
>Does it understand EBCDIC?
>
>Does it understand NL (x'15', not available in ASCII)?
>
>-- 
>gil
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to