I can't seem to find anything on this, and I thought it a pretty basic issue, so I feel pretty stupid. I am trying to send a text file from the IBMi IFS to our parent companies SFTP server. I have set up Expect to use scripting, but when I send the file to the server, it gets there with everything changed to unreadable characters.
I thought it was the CCSID of the stream file that I create on the IFS. So I changed that to CCSID 367...still nothing, I changed the SFTP session to ASCII, and that also did nothing. I'm at a lose...is there a simple trick for sending a file from the IFS to a server and having it still readable?
#SupportMigration#IBMi#Support