From owner-freebsd-questions Thu Dec 30 4:15:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id E9D4214D18 for ; Thu, 30 Dec 1999 04:15:09 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 7841 invoked from network); 30 Dec 1999 12:15:08 -0000 Received: from userbg36.uk.uudial.com (HELO marder-1.) (62.188.142.156) by smtp.dial.pipex.com with SMTP; 30 Dec 1999 12:15:08 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id MAA94720; Thu, 30 Dec 1999 12:09:09 GMT (envelope-from mark) Date: Thu, 30 Dec 1999 12:09:09 +0000 From: Mark Ovens To: David Uzzell Cc: freebsd-questions@freebsd.org Subject: Re: DOS Files Message-ID: <19991230120909.Y1290@marder-1> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 30, 1999 at 08:21:40PM +1100, David Uzzell wrote: > I am having trouble storing Dos/Windoze files on freebsd 3.3 ftp server. > When I recieve the files back to a windozes machine they are not know > formats. ie. .wp files that can only be read as .txt files. Have tried > this with all sorts of files and get the same result. Has any one got any > Ideas. Thanks in Advance. > How are you transferring the files back and forth? If you are using ftp then you need to make sure that you are transferring files in binary mode. If you use rcp, the Windows version has a ``-b'' option to force binary mode. If you don't use it then Windows will try to be clever and do a DOS-to-UNIX, or UNIX-to-DOS, EOL translation. This screws up binary files as it changes *all* occurrences of LF (ASCII 10) to CRLF (ASCII 10 & 13). HTH > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message