home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 November / PCO1197.ISO / FilesBBS / DOS / NODE210.EXE / DOWNLOAD.BAT < prev    next >
Encoding:
DOS Batch File  |  1997-08-31  |  5.1 KB  |  120 lines

  1. @echo off
  2. REM **********************************************************************
  3. REM This File Needed For The NODEVIEW EXTERNAL Download Functions ONLY!!
  4. REM NOT NEEDED UNLESS YOU WANT TO TOTALLY REPLACE INTERNAL ZMODEM, ETC.
  5. REM                               REPEAT!!
  6. REM NOT NEEDED UNLESS YOU WANT TO TOTALLY REPLACE INTERNAL ZMODEM, ETC.
  7. REM ***********************************************************************
  8. REM
  9. REM use the CEXYZ download protocol engine for external downloading.
  10. REM CEXYZ is Copyright (C) 1993 by Cutting Edge Computing
  11. REM (The Blue Wave QWk Mail Door maker's).
  12. REM It looks and works great plus it uses very little resources!
  13. REM I suggest using CEXYZ to take full advantage of the current download
  14. REM menu's, otherwise you'll have to edit the menus and find other programs
  15. REM for your download menu. Some of you will like this option though, because
  16. REM of it's flexibility allowing alternate protocol's.
  17. REM If you want to use the CEXYZ program, then all you'll need to do
  18. REM is copy the CEXYZ.EXE file to the Nodeview home directory and your done!
  19. REM You can file request FileName CE-XYZ.ZIP from my BBS at fido 
  20. REM 1:205/65 or call and download first call.
  21. REM
  22. REM ***********************************************************************
  23. REM
  24. REM For those that wish to use their own download programs such as DSZ
  25. REM IceZmodem, etc.  The following will be passed on the command line
  26. REM for your Protocol, trap the %4 variable in your batch file for your
  27. REM protocol of choice. You could actually use any protocol that you'd
  28. REM like to use! You could edit the download menu and substitute your 
  29. REM protocol's on the menu and then trap the %4 errorlevel in this batch
  30. REM file to load any protocol that you like! See below for example.
  31. REM
  32. REM ************************************
  33. REM ** PARAMETERS PASSED BY NODEVIEW  **
  34. REM ************************************
  35. REM %1=Port %2=Baud %3=Locked Baud %4=Protocol %5=Filename %6=Username
  36. REM IF "%4"=="/Sz"   Goto Zmodem
  37. REM IF "%4"=="/Szap" Goto ZedZap
  38. REM IF "%4"=="/Sy"   Goto Ymodem
  39. REM IF "%4"=="/Syg"  Goto Ymodem-G
  40. REM IF "%4"=="/Sx1k" Goto Xmodem-1K
  41. REM IF "%4"=="/Sx"   Goto Xmodem
  42. REM ************************************
  43. REM **     CEXYZ PARAMETERS USED      **
  44. REM ************************************
  45. REM /P%1=Port /B%2=Baud /L%3=Locked Baud %4=Protocol %5=Filename %6=Username
  46. REM /Ufos /UDir /UFas
  47. REM ***********************************************************************
  48. REM  /U<method>   -  The /U command line parameter tells the FTP which serial
  49. REM                  communications method to use.  The <method> can be one of
  50. REM                  the following:
  51. REM               /Ufos  -  Use the installed FOSSIL for port communications.
  52. REM                         This is the default mode.  If you want FOSSIL
  53. REM                         communications, you need not specify a /U
  54. REM                         parameter.
  55. REM
  56. REM               /Udir  -  Use direct (standard) communications.  Next to
  57. REM                         having an installed, working FOSSIL driver, this
  58. REM                         method is the most compatible.
  59. REM
  60. REM               /Ufas  -  Use the FAST, interrupt driven communications
  61. REM                         routines.  This may not be compatible with all
  62. REM                         serial cards and/or BIOS.  The FTP will "take
  63. REM                         over" INT 14h, and restore the previous 14h
  64. REM                         vector upon termination.  (This should allow you
  65. REM                         to use /Ufas, even if you also have a FOSSIL
  66. REM                         driver installed.  A FOSSIL "int 14 recapture"
  67. REM                         should *not* be necessary upon normal
  68. REM                         termination.  If you experience lockups, it is
  69. REM                         most likely interference from other TSR
  70. REM                         programs or system incompatibilities.  In this
  71. REM                         case, use /Udir instead.
  72. REM ***********************************************************************
  73. REM Rem or Takeout the CEXYZ lines's if you don't use CEXYZ.EXE program
  74. REM ***********************************************************************
  75. REM ************************************
  76. REM **     CEXYZ COMMAND IN USE       **
  77. REM ************************************
  78.  
  79. cexyz.exe /P%1 /B%2 /L%3 /Udir %4 %5 %6
  80. goto End
  81.  
  82. REM ************************************
  83. REM **          DSZ IN USE            **
  84. REM ************************************
  85.  
  86. IF "%4"=="/Sz"   Goto Zmodem
  87. IF "%4"=="/Szap" Goto ZedZap
  88. IF "%4"=="/Sy"   Goto Ymodem
  89. IF "%4"=="/Syg"  Goto YmodemG
  90. IF "%4"=="/Sx"   Goto Xmodem
  91. IF "%4"=="/Sx1k" Goto Xmodem1K
  92. GOTO END
  93.  
  94. :ZMODEM
  95. dsz.com ha on port %1 speed %3 sz %5
  96. GOTO End
  97.  
  98. :ZEDZAP
  99. Echo Protocol Not available with DSZ ..
  100. GOTO End
  101.  
  102. :YMODEM
  103. dsz.com ha on Port %1 speed %3 sb %5
  104. Goto End
  105.  
  106. :YMODEMG
  107. REM ** Requires Registered Dsz **
  108. dsz.com ha on Port %1 speed %3 sb -g %5
  109. Goto End
  110.  
  111. :XMODEM
  112. dsz.com ha on port %1 speed %3 sx %5
  113. Goto End
  114.  
  115. :XMODEM1K
  116. dsz.com ha on port %1 speed %3 sx -k %5
  117. Goto End
  118.  
  119. :END
  120.