Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!NISC.SRI.COM!cwilson From: cwilson@NISC.SRI.COM (Chan Wilson [Animal]) Newsgroups: comp.sys.apple2 Subject: Re: FTP's Message-ID: <21600@fs2.NISC.SRI.COM> Date: 27 Sep 90 08:01:47 GMT References: <36896@eerie.acsu.Buffalo.EDU> Reply-To: cwilson@NISC.SRI.COM (Chan Wilson [Animal]) Organization: Network Info Systems Ctr., SRI Intl., Menlo Park, CA. Lines: 78 In article <36896@eerie.acsu.Buffalo.EDU> v063jc9a@ubvmsd.cc.buffalo.edu writes: > > Ok, I'd like to get this straightened out for myself once and for all. >Ok here's the questions on using FTP's: > > When d/l a .bsq.Z file do I set it to "file", "binary" or > "ascii"? I presume by 'd/l' you mean ftp, yes? Set binary mode when ftp'ing *.Z files, by simply typing 'bin' to the ftp> prompt. > Then, when I use Kermit (ugh..) to u/l the file to my Apple > IIgs do I set the file type to ascii or binary? Depends. If you uncompress the file on the host end before kermit'ing (the host you ftp'd the file to), the file is now a binscii'd shrinkit archive, and is now ascii. If you don't uncompress the file, it is still 8bit binary. > Using Kermit in Proterm on the receiving end, do I use: > 1: file or batch > 2. What do I set the default filetype to? 1 & 2: either/anything, it shouldn't matter. I don't use kermit , so the kermit gurus can help if this is incorrect. >(an example of where .bsq.Z files are found is Wuarchive.wustl.edu) Yup. Which needs to updated, since I haven't done anything for a couple months. oops. >And... Do I use GSHK first or Binascii? Well, this depends on what you did to the file before you transferred it to your GS. If you uncompressed it before you transferred it, you now have a *.bsq file, which is a binscii'd shrinkit archive, so you'll need to un-binscii it, then un-shrinkit. If you didn't uncompress it before transferring, you'll have to uncompress it using GSHK, un-binscii the resulting (*.bsq) file, then un-shrink the resulting *.SHK file. > Also, what do I do for plain .shk files? Ooops, are there some of those there? Sorry, thought I'd caught them all. Ideally, you should be able to use binary ftp and binary kermit to transfer them to your GS, then simply run Shrinkit to unshrink them. Cuts out the binscii step. Of course, you can also unbinscii the files on the host side, before you transfer it to your GS. It's actually TONS easier to do this if at all possible, for you can do something really fun like '(zcat *.bsq.Z|sciibin) && rm *.bsq.Z' which leaves you with all your ftp'd stuff in Shrinkit archives (*.SHK) ready for some sort of transfer to your GS. >Thanks alot for all your help... I've been trying to figure it all out, but >I have too much work (don't we all!) to spend too much time... No problem, 'bout time I explained this stuff anyhow. This reminds me, I believe it's time for another stab at a monthly posting that explains this stuff: ******************************************************************************* A FORMAL CALL FOR ALL STUPID (sorry, UNENLIGHTENED) QUESTIONS (WITH ANSWERS, IF POSSIBLE) TO BE PLACED INTO A MONTHLY POSTING ON COMP.SYS.APPLE2. >>>> Mail all candidates to cwilson@nisc.sri.com <<<< ******************************************************************************* Enjoy: --Chan ................ Chan Wilson -- cwilson@nisc.sri.com I don't speak for SRI. Janitor/Architect of comp.binaries.apple2 archive on wuarchive.wustl.edu "a2fx it!" ................