My guess is that when I transfer the file in ascii mode, pc format may fill
the blocks with null characters, this effects file size. On the other hand,
in binary mode, pc format translates a new line to a carriage return and a
new line (or vice versa).
Any comments? Thanks in advance.
Dan Lam
What is a newline in UNIX is a combination of a linefeed and a carriage
return in DOS. This gets transformed in ftp with an ascii transfer.
The binary transfer does not make this translation. When you "type" the
file, what is normally a new line begins directly below the end of the
preceeding line. The UNIX newline becomes a DOS linefeed without the
carriage return. The file size is the same, but it looks funny.
If you do a "wc -l" on the UNIX file. The number of lines that it shows
should be the same as the difference in the file sizes.
Bob