Nothing translates line endings to CRLF while ftp'ing in binary.. windows
does actually use CRLF to deliminate lines in text files, while almost
everyone else uses only LF.  I believe Macintosh uses only CR.
Windows does have separate "binary" and "text" modes, but it's a superficial
filter in their API.  Files just contain bytes, there's nothing magic about
the fact it contains text other than that there are competing standards for
text file formatting.
--Palrich.

> Maybe clear some misconception up here.. there is no "Unix format." This
> unix format you speak of, in terms of text, is just that: *TEXT*,
> nothing more, nothing less, just a plain ascii file. What may be your
> problem, like others have said, is that you don't know the difference
> between ascii and binary, and are transferring ascii files in a binary
> mode, which is a big no-no. The client (and/or server?) will translate
> all of you CRLF's at the end of your lines into actual characters, which
> will stay with you until you either hand delete them, or like you should
> be doing, transferring the ascii files in ascii mode, its why just about
> every ftp client i can think of (even windows prompt 'ftp') allows you
> to set the mode to ascii.
> -K



Reply via email to