Use "dd conv=ascii" after transfer for inbound data on your client, or "dd conv=ebcdic" for outbound data before you send it. -----Original Message----- From: openssh-unix-dev [mailto:openssh-unix-dev-bounces+scott_n=xypro.com@xxxxxxxxxxx] On Behalf Of Damien Miller Sent: Thursday, October 16, 2014 4:11 PM To: Jitendra.Hushare@xxxxxxxxxxx Cc: openssh-unix-dev@xxxxxxxxxxx Subject: Re: Character Set conversion from EBCIDIC to ASCII On Thu, 16 Oct 2014, Jitendra.Hushare@xxxxxxxxxxx wrote: > Hello, > > We as an organization are going to use SFTP for our data transfer. > Our requirement is to SFTP the file from IBM Mainframe (z/390) to Unix > or Windows. Currently we are using FTP, which converts the character > set from EBCIDIC to ASCII and also take care of CR and LF aspect. > > My question is, do the same feature is available in SFTP, where it > smartly understand the source and destination operating system and > does the character set conversion and take care of CR and LF as FTP > does currently. Please suggest. No, OpenSSH does not and will not implement character set conversion. You might be able to find a 3rd-party sftp client or server that does it. -d _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev