From owner-freebsd-questions Thu Oct 12 16:26:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from christel.heitec.net (christel.heitec.net [193.101.232.3]) by hub.freebsd.org (Postfix) with ESMTP id E7E8037B502 for ; Thu, 12 Oct 2000 16:26:11 -0700 (PDT) Received: from heitec.net (paladin.heitec.net [193.101.232.30]) by christel.heitec.net (Postfix) with ESMTP id E409E35480F; Fri, 13 Oct 2000 01:31:59 +0200 (CEST) Message-ID: <39E64876.D12D7200@heitec.net> Date: Fri, 13 Oct 2000 01:25:42 +0200 From: Bernd Luevelsmeyer Organization: Heitec AG X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: TJ Olney Cc: "Jeays, Mike - SDD/DDS" , ANTHONY ZOULOUFOS , freebsd-questions@FreeBSD.ORG Subject: Re: questions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG TJ Olney wrote: > > On Tue, 10 Oct 2000, Jeays, Mike - SDD/DDS wrote: > > >> What is the difference between a text file ftp'd with > > >> binary or ascii. (what are the actual differences ? ) > > If it really is all text, there wouldn't be any difference. > > > Almost true. > > ASCII will convert CR-LF on a dos based system to a LF on Unix and vice > versa. > > If you send dos textfiles binary, they end up with ^m carriage return > characters in front of every line feed. The differences will be much more noticeable if you ftp from a system with a non-ASCII character set, such as EBCDIC. With 'binary' you get the unaltered file (unreadable on your machine), and with 'ascii' you get the text. Greetings, Bernd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message