Use the WSL command line utility unix2dos to convert the line endings of the downloaded file(s).
Peter From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Schmitt, Michael Sent: Friday, January 23, 2026 1:59 PM To: [email protected] Subject: Re: [EXTERNAL] Re: Filezilla - Xfer to ZOS USS filesystem? The problem is with using wsl ftp as a solution on Windows to the problem with Windows FTP not supporting passive mode. The destination of the files is Windows, not Linux, so we want CRLF endings. -----Original Message----- From: IBM Mainframe Discussion List <[email protected]<mailto:[email protected]>> On Behalf Of Paul Gilmartin Sent: Friday, January 23, 2026 12:44 PM To: [email protected]<mailto:[email protected]> Subject: Re: [EXTERNAL] Re: Filezilla - Xfer to ZOS USS filesystem? On Fri, 23 Jan 2026 16:31:33 +0000, Schmitt, Michael wrote: > >What I'm trying to do is download files that are EBCDIC, DSORG=PS, RECFM=FB, >LRECL=80 on z/OS MVS, and get ASCII text files. Windows FTP gives me CRLF line >endings. WSL FTP (tnftp on Ubuntu) gives me LF line endings. > Those are the correct line endings for ASCII text files on Windows and Linux respectively. What problem does anyone have with that? -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
