Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!mit-eddie!genrad!decvax!tektronix!tekcrl!vice!tekfdi!videovax!stever From: stever@videovax.UUCP Newsgroups: comp.sys.amiga Subject: Re: ASDG Recoverable Ram Disk News Message-ID: <4203@videovax.Tek.COM> Date: Mon, 2-Feb-87 11:27:57 EST Article-I.D.: videovax.4203 Posted: Mon Feb 2 11:27:57 1987 Date-Received: Thu, 5-Feb-87 01:50:28 EST References: <2322@jade.BERKELEY.EDU> <172200029@uxc.cso.uiuc.edu> Reply-To: stever@videovax.Tek.COM (Steven E. Rice, P.E.) Organization: Tektronix Television Systems, Beaverton, Oregon Lines: 43 Summary: A method to ensure reliable file transmissions. In article <172200029@uxc.cso.uiuc.edu>, Wayne Hamilton (hamilton@uxc.cso.uiuc.edu) writes: > . . . > i had trouble downloading asdg.vdisk.device from the vax to my amiga. > i used c-kermit on the vax end, and i tried both vt100 and akermit on amy. > i made repeated efforts, making sure i had binary/image mode emabled on > both kermit's. i always got complaint-free transfers, but the result was > always a munged file! i don't know why kermit was failing, and it makes me > nervous about kermit in general. . . . I have followed a strategy that has proven quite successful at ensuring reliable uploads from our VAX. First, I upload the file. Then, I download it *back* to the VAX and use diff to compare the original file with the doubly-copied file. With Amiga Kermit, this is easily mechanized. I have a shell script that walks a directory tree, generating a makescript for the amiga (file makescript.amiga) which creates any needed directories, a file for the Kermit "take" command (file takefile.kermit), and a parallel directory (.check) which receives the doubly-copied files. After the files have been transferred both ways, I use the directory form of the diff command to compare all of the doubly-copied files with the original ones (note the use of "more" to control output): diff -crs .check | more I can begin a transfer and go to bed, secure in the knowledge that the files will be waiting for me in the morning (the last line of takefile.kermit is a "bye" command, which causes the VAX Kermit to log off when the transfer is finished). The next time I log on, I just diff the two directories, and any transfer errors are immediately apparent. This has worked for many megabytes of data. If anyone is interested in a copy of the shell script, send email to me. If I get enough requests, I will post it. Steve Rice ---------------------------------------------------------------------------- {decvax | hplabs | ihnp4 | uw-beaver}!tektronix!videovax!stever