home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / ibm / pc / misc / 17058 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.9 KB  |  60 lines

  1. Newsgroups: comp.sys.ibm.pc.misc
  2. Path: sparky!uunet!gatech!emory!athena!millia
  3. From: millia@athena.cs.uga.edu (David W. Millians)
  4. Subject: Procomm Plus script help needed.
  5. Message-ID: <C1E6IH.30I@athena.cs.uga.edu>
  6. Summary: Zmodem is being goofy...
  7. Organization: University of Georgia, Athens
  8. Distribution: na
  9. Date: Mon, 25 Jan 1993 04:15:52 GMT
  10. Lines: 48
  11.  
  12. I have been trying to transfer files between two computers using
  13. Procomm Plus, and have been thwarted. I have to call from one
  14. computer to the other for both sending and receiving of files.
  15. (The goal is to swap the files back and forth as updates occur- it's
  16. not often enough to warrant a network.) To do this, in the sending case,
  17. I basically tell the remote computer to switch directories, receive files,
  18. switch dirs again and receive files again. In the receiving case I do the
  19. same algorithm by executing a remote script. However, it is messed up by
  20. the behavior of zmodem, which recognizes incoming files, and then doesn't
  21. do any actual downloading. Here are the scripts:
  22.  
  23. Sending files:
  24.  
  25. proc main
  26. dial "10"
  27. transmit "^DSET DLDIR `"C:\BARROW`"^M"
  28. SENDFILE ZMODEM "C:\BARROW\*.*"
  29. transmit "^DSET DLDIR `"C:\BARROW\DATA`"^M"
  30. SENDFILE ZMODEM "C:\BARROW\DATA\*.*"
  31. endproc
  32.  
  33. Receiving files:
  34.  
  35. proc main
  36. dial "10"
  37. transmit "^Dexecute `"rf.asx`"^M"
  38. endproc
  39.  
  40. and, on the remote compter, rf.asp:
  41.  
  42. proc main
  43. transmit "^DSET DLDIR `"C:\BARROW`"^M"
  44. SENDFILE ZMODEM "C:\BARROW\*.*"
  45. transmit "^DSET DLDIR `"C:\BARROW\DATA`"^M"
  46. SENDFILE ZMODEM "C:\BARROW\DATA\*.*"
  47. endproc
  48.  
  49. Oh- and there is not a problem becuase of zmodem's file overwriting 
  50. protection. I move the files to another directory before I start this,
  51. so the two directories are empty.
  52.  
  53. Any help is VERY appreciated.
  54.  
  55. -- 
  56. David W. Millians. millia@athena.cs.uga.edu or @moe.coe.uga.edu
  57. 75 more days until the Braves get to kick some more NL butt.
  58. [Baseball] is a game with increasingly heightened anticipation of
  59. increasingly limited action. John Irving, "A Prayer for Owen Meany"
  60.