From owner-freebsd-questions Wed Jan 28 22:27:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA08680 for questions-outgoing; Wed, 28 Jan 1998 22:27:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from stumbleinn.dyn.ml.org (ppp38-30.ght.iadfw.net [207.136.54.94]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA08674 for ; Wed, 28 Jan 1998 22:27:10 -0800 (PST) (envelope-from dvo264@airmail.net) Received: from localhost (dvo264@localhost) by stumbleinn.dyn.ml.org (8.8.7/8.8.7) with SMTP id AAA00995; Thu, 29 Jan 1998 00:22:19 -0600 (CST) (envelope-from dvo264@airmail.net) X-Authentication-Warning: stumbleinn.dyn.ml.org: dvo264 owned process doing -bs Date: Thu, 29 Jan 1998 00:22:18 -0600 (CST) From: David X-Sender: dvo264@stumbleinn.dyn.ml.org To: Greg Lehey cc: freebsd-questions@FreeBSD.ORG Subject: Re: ascii conversion to binary In-Reply-To: <19980129155429.18439@lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Thu, 29 Jan 1998, Greg Lehey wrote: > Date: Thu, 29 Jan 1998 15:54:29 +1030 > From: Greg Lehey > To: David > Cc: Adam Simpson , > freebsd-questions@FreeBSD.ORG > Subject: Re: ascii conversion to binary > > On Wed, Jan 28, 1998 at 11:15:35PM -0600, David wrote: > > On Thu, 29 Jan 1998, Greg Lehey wrote: > > > >> Date: Thu, 29 Jan 1998 11:39:42 +1030 > >> From: Greg Lehey > >> To: Adam Simpson > >> Cc: freebsd-questions@FreeBSD.ORG > >> Subject: Re: ascii conversion to binary > >> > >> On Wed, Jan 28, 1998 at 01:59:44PM -0600, Adam Simpson wrote: > >>> If a file is transferred in ascii mode, is there a way to convert it back > >>> to binary?? > >> > >> As others have said, no. > >> > >> There is *never* a reason to transfer files in ASCII. Always choose > >> binary. > > > > I'll let you reset all my HTML codes in the web pages after I transfer > > then in Binary. I'm getting tired of doing it after forgeting to type > > ascii at the prompt. > > Please explain. Binary doesn't change anything. *Serveral* times I have moved a webpage site from one host to another. I used command line FTP, Not a Win95 program such as CUTEFTP or WS_FTP , Each time i've done a mget to pull all the files. As long as I change modes to ascii from binary I can go to the site ( in a browser) after the transfer and nothing has changed as far as the formating of theHTML document. But if I don't change to ASCII and stay in BINARY , Since I just transfered the JPG's and GIF's also, the HTML formating ie.. tabs, Returns, end of lines, any formating I've done will and was wiped out and I had to take the page back into an editor, and reset all the formating codes. Maybe I was doing something wrong but I'm tired of haveing to redo a page every time I don't change to ASCII when i transfer a TEXT file with page formating encoded such as an HTML document. Dave