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.
