home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / protocol / resend.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  35 lines

  1. A minor historic moment...
  2.  
  3. Kermit protocol just accomplished its first automatic recovery.  The
  4. packet-driver ZIP file, DRIVERS.ZIP, was sent from one C-Kermit to another in
  5. binary mode, and interrupted in the normal way, by typing X, about half way
  6. through.  The receiver had been told to SET FILE INCOMPLETE KEEP, so it kept
  7. what it had received so far.  The transfer was restarted by telling the
  8. receiver to RECEIVE, and the sender to RESEND DRIVERS.ZIP.  Here's the top of
  9. the packet log:
  10.  
  11. s-00-00-^A0 S~* @-#Y3~^$5$C  <-- RESEND capability bit set (= "^")
  12. r-00-00-^A0 Y~* @-#Y3~^$5$I  <-- Here too.
  13. s-01-00-^A0!FDRIVERS.ZIP"G<  <-- Filename.
  14. r-01-00-^A0!Ydrivers.zip#S^
  15. s-02-00-^AP"A."U1""B8#119940406 20:04:54!#3311&338294+!R,2[
  16. r-02-00-^A-"Y1&176847"FJ                             ^^^ Dispostion=Resend
  17.              ^^^^^^^^
  18.              Receiver tells the length of the partial file.
  19.  
  20. Sender picks up at the reported point, receiver appends to partial file, and
  21. the result is a complete, intact DRIVERS.ZIP file (I even unZIPped it).
  22.  
  23. Not ready for prime time yet -- I still have to do a lot of cosmetic surgery,
  24. plus a great deal of internal reshuffling.  The major difficulty is with
  25. SET FILE COLLISION BACKUP and RENAME -- I have to prevent things (like
  26. renaming files) from happening until the very last minute, otherwise the file
  27. won't be there under its expected name when the second piece of it arrives.
  28. Weekend work.
  29.  
  30. - Frank
  31.  
  32. P.S. I said this would take about a day, and it would have taken me about a
  33. day, but I had a lot of interruptions.  Total coding time was about 4 hours,
  34. plus about 2 hours of debugging (so far), so I'm still not far wrong.
  35.