Date: Fri, 13 Oct 2000 01:25:42 +0200 From: Bernd Luevelsmeyer <bernd.luevelsmeyer@heitec.net> To: TJ Olney <market@cc.wwu.edu> Cc: "Jeays, Mike - SDD/DDS" <mike.jeays@statcan.ca>, ANTHONY ZOULOUFOS <ant_zoul@yahoo.com>, freebsd-questions@FreeBSD.ORG Subject: Re: questions Message-ID: <39E64876.D12D7200@heitec.net> References: <Pine.WNT.4.21.0010101336420.-274019@Starship083.cbe.wwu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39E64876.D12D7200>