Can you be more specific when you say CR is followed by NL?
What is this mean? How do I check that CR is on or off in FTP? How do you specify in FTP to remove a carriage control? Thanks Zina -----Original Message----- From: Alexander V. Lukyanov [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 1:01 AM To: Pinkhasov, Zina Cc: [email protected] Subject: Re: ftp in as400 On Thu, May 08, 2008 at 12:16:53PM -0400, Pinkhasov, Zina wrote: > The result of this file is 101 bytes, which is causing a problem down > the stream....especially in SORT step. > > If you look at the file in HEX, it shows an extra byte 0D at the end > carriage control. I think the ftp server incorrectly adds extra CR at the end of file. Usually CR is followed by NL, but if it is not then lftp does not remove the CR. BTW, does binary transfer mode work for you better? You can get the binary file and then convert it locally if needed. -- Alexander.
