home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
comm
/
bbsx1.zip
/
FTX.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-12-26
|
968b
|
49 lines
echo off
goto top
Rich Levin's BBSXpress (tm)
FTX.BAT
Copyright (c) 1988 Richard B. Levin
All Rights Reserved
Revised December 26, 1988
:top
if %4 == b goto dsz
if %4 == b-k goto dsz
if %4 == x goto dsz
if %4 == x-k goto dsz
if %4 == z goto dsz
goto s_err
:dsz
if %3 == r goto dsz_r
if %3 == s goto dsz_s
goto xit
:dsz_r
dsz port %1 speed %2 r%4 %5
if errorlevel 1 goto r_err
if not exist %5 goto r_err
goto xit
:dsz_s
dsz port %1 speed %2 s%4 %5
if errorlevel 1 goto s_err
goto xit
:r_err
rem failed receives/uploads branch here
rem change del %5 to ren %5 to save aborted uploads
if exist %5 del %5
if exist bbsx.tmp del bbsx.tmp
goto xit
:s_err
rem failed sends/downloads branch here
if exist bbsx.tmp del bbsx.tmp
goto xit
:xit
if exist *.$$$ del *.$$$