home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
telix
/
tlx3_wx.arc
/
WXFER.DOC
< prev
next >
Wrap
Text File
|
1987-04-18
|
1KB
|
49 lines
Here's the first version of WXFER! It is actually WXTERM, changed
around to take command-line parameters, monitor carrier, and give
return codes--the things needed to make it work in DCS.
The command line is relatively simple--
-s sends a file
-r receives a file
-r! receives a file and will overwrite it if it exists
speed specifies communications speed
port specifies communications port
-c requires carrier
The defaults are port 1, speed 1200, and carrier detect NOT required.
Here is an excerpt from our new transfer.dcs:
To receive a file (user upload):
if Protocol = "W"
then begin
Let CommandLine = " port "+*Port+ " -c speed "+*Baud+" -r! ",FullFilePath
Execute "C:\SYSFILES\WXFER.COM" + CommandLine
end-if
To send a file (user download):
if Protocol = "W"
then begin
Let CommandLine = " port "+*Port+ " -c speed "+*Baud+" -s ",*FileSpec
Execute "C:\SYSFILES\WXFER.COM" + CommandLine
end-if
Some example command lines:
"WXFER port 1 -c speed 2400 -s c:\dcs\dcs4-12.arc"
"WXFER speed 2400 -r! test.arc"
Lemme know how it works!
Marty
April 17, 1987