ASCII mode FTP (was RE: Fw: error)

Jay R. Ashworth jra at baylink.com
Fri Jan 12 08:29:12 PST 2007


On Thu, Jan 11, 2007 at 05:41:25PM -0800, Bob Rasmussen wrote:
> LONG AGO it might have meant stripping a control-Z from the end of a DOS 
> file while converting it to a Unix file. But seriously, folks, ctrl-Z as 
> end-of-file has not been used since DOS 1.0, if I recall correctly! So 
> Anzio doesn't do anything about it.

And, to be clear: unless my memory is seriously failing me, Ctrl-Z was
never *supposed* to actually *be in files* -- it was the EOF character
you *typed into the keyboard* to denote end of file to the read(1)...
just like Ctrl-D is on a unix box.  That doesn't end up in the file,
either.

Ctrl-Z's *actually in files* were the result of programmers who didn't
understand the spec.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274


More information about the Filepro-list mailing list