Can sFTP to z/OS translate to Ebcdic

Core FTP client questions and answers
Locked
jon holmes
Posts: 5
Joined: Mon Jan 14, 2013 3:52 pm

Can sFTP to z/OS translate to Ebcdic

Post by jon holmes »

We have successfully used CoreFTP client to send data from users PCs to the z/OS mainframe - that works fine.
We are looking at security, and want to know if we can change our FTP to sFTP.
The mainframe is in EBCDIC, but when I transfer files into the Unix side of the mainframe, they have not been translated.

Can CoreFTP do this - I can't find a setting.
In advanced settings there look to be Ascii or Binary

Have I missed something?

Thanks
Jon
jon holmes
Posts: 5
Joined: Mon Jan 14, 2013 3:52 pm

Directories?

Post by jon holmes »

I also notice, when I connect with FTP, I see all the directories in the remote z/OS server. With sFTP it just shows 1 file.
I have serveral files and directories in my /user/myuserid directory
If I press the up arrow to show /user/ directory
This only shows 2 users directories, from FTP, I see all of them - around 50 users.
Something strange with sFTP
Can anyone explain?
Thanks
Jon
cp
Posts: 124
Joined: Sun Sep 11, 2011 5:18 am

Post by cp »

SFTP is binary only by default. Depending on the contents of your file you can try toggling the advanced -> ssh -> simulate ascii mode option but that probably will not solve the overall issue.

Not familiar with z/OS SFTP but see if the advanced -> ssh -> "use legacy protocol options" makes a difference. You may also have the wrong server type selected in advanced -> general -> server type (try the MVS options).
jon holmes
Posts: 5
Joined: Mon Jan 14, 2013 3:52 pm

sFTP to Mainframe

Post by jon holmes »

CP - thanks for that - it looks good
I had Server Type set to MVS HFS already - thought that should have been enough, but yes.
With ssh option "use legacy protocol options" it lists all directories fine
and it translates to EBCDIC

I still have problems with the £ and ¬ symbols here in the UK
but that's always the case. We always seem to set PCs up with wrong code page. Our developers seem to cope and create garbage which looks ok at the other end.

Thanks again
Jon
Locked