On 2007-07-12, Christoph Scheurer <(E-Mail Removed)> wrote:
> Running unix2dos to read textfiles on windows, that were written
> under linux is the ONLY way. Unix ( and so also Linux ) use only a
> Newline to mark the end of a line, while Windows needs a
> Return+Newline on the end of a line.
> It has NOTHING to do with which ftp-client or which ftp-mode a
> textfile is transfered, the result will allways be the same.
Sorry, but you're wrong.
Using ASCII transfer mode is exactly what you'd want to transfer plain text
files between OS's that use different EOL's. And not only for Windows/Linux,
btw.
I used it for years to pass sources between DOS, OS/2, Windows, Unix, Linux
and more ancient systems. It meant I never had to worry about EOL.
The receiving system defined what EOL would be written in the destination.
There might be a problem with the command line client, though. I allmost
never used it.
--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
|