Troubleshooting mainframe to Linux FTP
Programming expert Mark Zelden offers some coding help to a user trying to FTP files from the mainframe to a Linux OS.
You (or one of your local Unix and Linux admins) should compare all of the FTP server and client default settings...
Continue Reading This Article
Enjoy this article as well as all of our content, including E-Guides, news, tips and more.
between Unix and Linux. However, that still may not provide the answer.
What is in the extra byte? 0x0D? You may be able to use a program on Linux to remove te extra byte. One I have heard of is called "dos2unix". The Unix tr (translate) command can also be used to delete the extra byte. Assuming the extra byte is a carriage return (CR), the command would look like this:
tr -d '\r' ‹input.file ›output.file
Substitute '\r'
with 'n'
if the extra byte is newline.
Hope this helps.