Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!sarah!cs.albany.edu!crdgw1!uakari.primate.wisc.edu!samsung!cs.utexas.edu!sun-barr!cronkite!male!newstop!eastapps!bodleian!geoff From: geoff@bodleian.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Newsgroups: comp.protocols.nfs Subject: Re: Ctrl-Z with PCNFS ftp and unix2dos Message-ID: <6935@eastapps.East.Sun.COM> Date: 27 Jun 91 15:34:39 GMT References: <1134@dcsc.dla.mil> Sender: news@East.Sun.COM Reply-To: geoff@east.sun.com (Geoff Arnold @ Sun BOS - R.H. coast near the top) Distribution: usa Organization: Sun Microsystems PC-NFS Engineering Lines: 28 Quoth drezac@dcsc.dla.mil (Duane L. Rezac) (in <1134@dcsc.dla.mil>): # #We are using PC-NFS to access our unix machines (Goulds). We #frequently transfer data in ASCII from the unix to dos for use #in database applications. One of our software packages (Enable) #expects an ascii file to end with Ctrl-Z (0x1A). When we ftp #from the unix using ascii mode, the crlf translaton occurs, but #no Ctrl-Z is placed at the end of the file. The same thing ocuurs if #we ftp in binary and use unix2dos to convert the file. #My question is: # #Should PC-NFS add the Ctrl-Z to the end of the file in ascii mode? # #or is this just an funky quirk that the database package needs the #Ctrl-Z at the end of the file. #(only Enable seems to care - the other database progams (DBASEIII+) #do not seem to care if the Ctrl-Z is there or not.) Ctrl-Z at EOF is pretty much an anachronism. Few DOS tools append Ctrl-Z to files; still fewer expect it. (I don't know of any Microsoft program that does either.) What's the date on your copy of Enable? --Geoff Arnold, PC-NFS architect(geoff@East.Sun.COM or geoff.arnold@Sun.COM)-- ------------------------------------------------------------------------------ -- Sun Technology Enterprises : PC Networking group -- -- (officially from July 1, but effectively in place right now) --