Michael Phillips writes:
> Consensus seems to be that binary is the only mode you would ever need. Question is that why don't the client developers simply drop ASCII as a transfer format?
>
> Mike
For most "end user" type of uses for FTP, ASCII mode isn't very
useful, other than it does translate newline character sequences when
going between a DOS and UNIX server for ASCII text files.
The nice thing about ASCII mode is that you can communicate with
mainframes and other non ASCII based computers through a standard
protocol. Translating from EBCDIC to ASCII is a lot tougher than
tranlating from DOS to UNIX, so it is very handy to have the ftp
software take care of that for you.
The FTP protocol has other niceties (rarely implemented in UNIX
clients) for maintaining the block / record structure of a file during
a transfer. This is a big deal for some types of systems (VMS, MVS,
AS/400) where the filesystem was designed to emulate a rack of magnetic
tapes...
-Eric.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.