home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / apps / 9354 < prev    next >
Encoding:
Text File  |  1992-12-15  |  2.0 KB  |  63 lines

  1. Newsgroups: comp.os.os2.apps
  2. Path: sparky!uunet!brunix!brunix!wcn
  3. From: wcn@cs.brown.edu (Wen-Chun Ni)
  4. Subject: Re: Zmodem from within CKermit... how to ? (was Re: CKermit - help!)
  5. Message-ID: <1992Dec15.125042.16288@cs.brown.edu>
  6. Sender: news@cs.brown.edu
  7. Organization: Brown University Department of Computer Science
  8. References: <1992Dec14.165143.16065@nevada.edu> <1992Dec14.222716.4666@spcvxb.spc.edu> <1992Dec15.000738.4667@spcvxb.spc.edu>
  9. Date: Tue, 15 Dec 1992 12:50:42 GMT
  10. Lines: 51
  11.  
  12. In article <1992Dec15.000738.4667@spcvxb.spc.edu> benezra_a@spcvxb.spc.edu writes:
  13. >In article <1992Dec14.222716.4666@spcvxb.spc.edu>, benezra_a@spcvxb.spc.edu writes:
  14. >>> Try M2ZMODEM found at Hobbes. It works nicely with CKOKER32 (ckermit5a188).
  15. >>> Just include the following two lines in your CKERMIT.INI file.
  16. >>> DEFINE SZ !M2ZMODEM -F 1 -S \%1
  17. >>> DEFINE RZ !M2ZMODEM -F 1 -R \%1
  18. >>> That is it.
  19. >>> Karu.
  20. >> 
  21. >> Ok, this far I got. Now how do you invoke the zmodem file transfer?
  22. >> Thanks in advance.
  23. >> Alan Benezra
  24. >
  25. >To answer my own question, I typed RZ at the kermit prompt and it opened a file 
  26. >transfer window. But then it kicked out with a transfer failed message. Back to 
  27. >the drawing board.
  28. >ab
  29. >> 
  30.  
  31. How about this:
  32.  
  33. Create a file called zmr.cmd and put it in some directory in your PATH.
  34. Here is mine:
  35. ----------- zmr.cmd ------------------
  36. set M2Z=-f 1 -b 2400 -h   <-- m2z paramters
  37. set rz=f:\tmp             <- receiving dir
  38. set sz=f:\tmp\*
  39. m2zmodem -r
  40. -------------zmr.cmd ----------------
  41.  
  42. For the sending command, modify it a little:
  43. -------------zms.cmd ----------------
  44. set M2Z=-f 1 -b 2400 -h     <-- m2z parameters
  45. set rz=f:\tmp               
  46. set sz=f:\uploads\*         <-- sending directory
  47. m2zmodem -s
  48. -------------zms.cmd ----------------
  49.  
  50. To receive something:
  51. remote% sz -vv somefile
  52. Ctrl-]C
  53. C-Kermit>!zmr
  54.  
  55. It works for me.
  56.  
  57.  
  58.  
  59. Wen-Chun Ni, wcn@cs.brown.edu         (401) 863-7669
  60. -------------------------------------------------------------------
  61.  I do more after 2 a.m. than most people do all day.
  62.              - from a T-shirt given by a friend.
  63.