Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!bellcore!ka9q.bellcore.com!karn From: karn@ka9q.bellcore.com (Phil Karn) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: Problem with KA9Q 'dir' losing CR/LF Message-ID: <12690@bellcore.bellcore.com> Date: 17 Dec 88 06:59:21 GMT References: <2397@xyzzy.UUCP> Sender: news@bellcore.bellcore.com Reply-To: karn@ka9q.bellcore.com (Phil Karn) Organization: Home for Burned-out Hackers Lines: 9 The new version of my code I'm working on fixes this problem in a somewhat cleaner way. The FTP client remembers the last TYPE command it sent to the server, and if it wasn't TYPE A and a dir command is given, a TYPE A is automatically issued. Then the proper transfer type is automatically issued (if necessary) when an actual file transfer is requested. Phil