Subject: Re: Data corruption w/ftp?
To: Nigel Reed <nigel@nelgin.nu>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-help
Date: 07/22/2001 16:50:37
On Sun, 22 Jul 2001, Nigel Reed wrote:
> Maybe you'd better file a pr then since NetBSD tends to think it is an
> ASCII file. For what it's worth, using Win2K and NetBSD 1.5W it works
> both ways. *shrug*
>
> bash-2.05$ file test
> test: ASCII text, with no line terminators
> bash-2.05$

Well, file(1) thinks it's an ASCII file... NetBSD in general probably
has no opinion :) But that's beside the point... my question was "Why
should he have to use ASCII mode?" If you get a file in binary mode,
then put it back, the file should be identical (with the possible
exception of transferring from a mainframe that uses a record-based file
layout kind of thing... doesn't VMS have something similar?)

It probably is a bug that file thinks an all-0 file is ASCII though...