Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

All Other Mainframe Topics :: RE: FTP from Mainframe to Unix - with CRLF

$
0
0
Author: vasanthz
Posted: Sat Mar 25, 2017 12:37 am (GMT 5.5)

Thank you both for your thoughts.
Quote:
I suggest using MODE S before the LOCSITE SBSENDEOL CRLF command.

Hi Robert,
Yes I did try MODE S. Still no joy. The file has only LF.

Quote:
*nix uses a different end of line, particularly if the data is being sent to another site.

Yes Steve, that is the problem. The file is FTP'ed to a NAS FTP server which runs Unix. The file is then accessed by multiple people from Windows machines.
So when they view the file in windows the file does not have CR and LF.

I wanted to know if there was a way to force CRLF from the sending side(Mainframe) and accept it as is on the receiving side(Unix).
_________________
It is difficult to teach a new dog old tricks - Mainframe icon_sad.gif


Viewing all articles
Browse latest Browse all 8500

Trending Articles