Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!shelby!unixhub!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!csus.edu!ucdavis!csusac!usenet From: jetfuel@babbage.csus.edu (Dave Jenks) Newsgroups: comp.sys.3b1 Subject: Re: CPIO problem on 7300 Summary: binary transfer or ASCII cpio archive Keywords: cpio ftp Message-ID: <1991Mar2.083703.27179@csusac.csus.edu> Date: 2 Mar 91 08:37:03 GMT References: <8178@suned1.Nswses.Navy.MIL> Sender: usenet@csusac.csus.edu (News account (alt)) Distribution: na Organization: California State University, Sacramento Lines: 39 In article <8178@suned1.Nswses.Navy.MIL> zaft@.nswses.navy.mil (Gordon C Zaft) writes: > Hi! I just got my very own 7300 Unix PC (TM) up and running and >I'm having a great time snarfing software for it, etc. HOWEVER-- > > I ftp-ed a couple of software packages from osu-cis; specificlly, >mtools and compress; compress comes as a CPIO package but when I try to >un-cpio it by the command > > cpio -itv I get an error message "Out of phase--get help". Do this: $ file compress.cpio If it comes back with ASCII cpio archive, you must specify the 'c' option to cpio: $ cpio -ictv < compress.cpio ^ If this didn't help, perhaps it was not ftp-ed correctly. Did you set binary transfer mode in ftp? As I understand it never hurts to do this, and is virtually the only way to get non-text data using ftp (unless it's uuencoded). When in ftp, do this: ftp> binary ftp will make some comment to the effect that you are now in binary transfer mode. Re-snarf. --Dave -- ======================================================================= "Pro is to con, as progress is to Congress..." >>-@@-> Dave Jenks {uunet | ucbvax!ucdavis}!csusac!jetfuel =======================================================================