--On Mon, May 18, 1998 2:03 pm -0400 "Michael Jennings"
<[EMAIL PROTECTED]> wrote: 

> On Monday, 18 May 1998, at 18:17:21 (+0100),
> Jules Bean <[EMAIL PROTECTED]> wrote:
> 
>> Aha!
>> 
>> With that clue, I can tell you what you did wrong.
>> 
>> You downloaded the file in text-mode, not binary.
>> 
>> If you were using a unix-style FTP client, you should have remembered to
>> type
>> 'binary' before typing 'get'.
> 
> That's true if downloading between UNIX and non-UNIX.  But even
> ASCII mode should work with no translations from UNIX to UNIX, one
> would think.  Or am I giving OS designers too much credit? :)

Nope.  You're just not thinking things through properly :)

The 'network' model of line-endings is CR and LF.  So when you download a
binary file as text it is converted from just LFs to CR/LF by the server
(assuming a unix server) and then from CR/LF to whatever the local
convention is.

A little thought will show that this will almost certainly munge any file
unless both client and server are Messy-Dos, which happens to use the
network standard as its default (so the translation is a NOP)

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | [EMAIL PROTECTED]         |  6 Evelyn Rd        |
|  Jules aka     |                               |  Richmond, Surrey   |
|  Julian Bean   | [EMAIL PROTECTED]        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/


-
To unsubscribe from this list send mail to: [EMAIL PROTECTED]
with the message contents: unsubscribe e-develop

Reply via email to