Date: Thu, 30 Dec 1999 12:09:09 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: David Uzzell <duzzell@1stpenshurst-scouts.asn.au> Cc: freebsd-questions@freebsd.org Subject: Re: DOS Files Message-ID: <19991230120909.Y1290@marder-1> In-Reply-To: <Pine.BSF.4.10.9912302014160.7083-100000@web.1stpenshurst-scouts.asn.au> References: <Pine.BSF.4.10.9912302014160.7083-100000@web.1stpenshurst-scouts.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991230120909.Y1290>
