SFTP

Advertisement

earl.timmerman
Guest

SFTP

I am trying to sftp a file from IBM Mainframe z/OS1.4 and file is unreadable. Is there a way of converting the file from EBCDIC to ASCII as the file is being transferred.

Thanks
Earl

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: SFTP

earl.timmerman wrote:

I am trying to sftp a file from IBM Mainframe z/OS1.4 and file is unreadable. Is there a way of converting the file from EBCDIC to ASCII as the file is being transferred.
If the server supports SFTP v4, select text (ascii) transfer mode.

Reply with quote

ghl1976
Joined:
Posts:
2
Location:
Sweden

Re: SFTP

earl.timmerman wrote:

I am trying to sftp a file from IBM Mainframe z/OS1.4 and file is unreadable. Is there a way of converting the file from EBCDIC to ASCII as the file is being transferred.

Thanks
Earl

If the file is a ascii or UTF8 encoded file, choose option binary and use iconv in omvs shell if you need to have it encoded as ebcdic.

Reply with quote

Advertisement

You can post new topics in this forum