home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / SPORT131.ZIP / WAITS.EXE / SPORTR.CTL < prev    next >
Text File  |  1991-05-11  |  3KB  |  92 lines

  1. ;    This is a sample SPORTR.CTL - the Control File for the
  2. ;               SPORT Remote Access Utility
  3. ;
  4. ;    When this file is in the SPORT default directory AND
  5. ;   a caller correctly enters your Remote Access Password,
  6. ;   the caller will see an automatically generated menu that
  7. ;   lists the commands after the word "menu" and the keys after
  8. ;   the word "remotecommand". REM lines are displayed.
  9.  
  10. menu Send Table of Contents file to Main Office
  11. remotecommand 1
  12. begin.
  13. REM ------------------------------------------------------------
  14. REM You will receive the Table of Contents File via SPORT Mail.
  15. REM The name of this file is:  SPORT.TOC
  16. REM ------------------------------------------------------------
  17. SPORTU P OFFICE C:\SPORT\SPORT.TOC
  18. end.
  19.  
  20. menu Send All Logs to Main Office
  21. remotecommand 2
  22. begin.
  23. REM ------------------------------------------------------------
  24. REM You will receive the latest log files via SPORT Mail.
  25. REM ------------------------------------------------------------
  26. SPORTU P OFFICE C:\SPORT\*.LOG
  27. end.
  28.  
  29. menu Delete All Logs Previous to Today
  30. remotecommand 3
  31. begin.
  32. REM -----------------------------------------------------------
  33. REM Cleans the System of Old Log Files
  34. REM -----------------------------------------------------------
  35. del c:\sport\0*.log
  36. end.
  37.  
  38. menu Poll the Main Office
  39. remotecommand 4
  40. begin.
  41. REM -----------------------------------------------------------
  42. REM Check in for information at the Main Office
  43. REM -----------------------------------------------------------
  44. SPORTU P OFFICE
  45. end.
  46.  
  47. menu Run a System Check
  48. remotecommand 5
  49. begin.
  50. REM -----------------------------------------------------------
  51. REM Making Sure the System is in good shape.
  52. REM Log can be checked for results.
  53. REM ------------------------------------------------------------
  54. SPORTU S CHECK
  55. end.
  56. ;    These particular examples use an external protocol called
  57. ;    DSZ (c) to provide downloading.
  58. ;
  59. menu Download list of BBS/Comm Programs (Xmodem CRC)
  60. remotecommand 6
  61. begin.
  62. REM -------------------------------------------------------------
  63. REM A complete list of BBS/Communication Applications available.
  64. REM The name of this file is:  FILES.BBS
  65. REM -------------------------------------------------------------
  66. REM Start receiving XMODEM NOW...
  67. DSZ D sx c:\upld\bbs\files.bbs
  68. end.
  69.  
  70. menu Download SPORT File List (Zmodem)
  71. remotecommand 7
  72. begin.
  73. REM -------------------------------------------------------------
  74. REM You are about to receive a listing of SPORT related files
  75. REM The name of this file is:  SPORT.LST
  76. REM -------------------------------------------------------------
  77. REM Start receiving XMODEM NOW...
  78. dsz D sz d:\file\SPORT.LST
  79. end.
  80.  
  81. menu Download Latest SPORT W.A.I.T.S. Package (Zmodem)
  82. remotecommand S
  83. begin.
  84. REM -------------------------------------------------------------
  85. REM You are about to receive the latest SPORT W.A.I.T.S. Package
  86. REM The name of this file is:  SPORT.ZIP
  87. REM -------------------------------------------------------------
  88. REM Start receiving XMODEM NOW...
  89. dsz D sz d:\sport\sport.zip
  90. end.
  91.  
  92.