home *** CD-ROM | disk | FTP | other *** search
- :: This script capture (DC2/DC4) downloads a file after it is listed
- :: in the Compuserve SIG "bro" command. Enable this with:
- :: set f7 "@source ckcisdl.t"
- :: Then "bro" and at a SIG download prompt, f7 grabs the file.
- :: For ASCII files only, no error correction, but faster than B-prot
- ::
- if !h^\[ echo "Can't find Project Programmer Number"; return
- ss yf "^[^ /]+"
- setc s0 "\L%z0"
- if f%s0 echo "%s0 Exists: No Action taken."; return
- echo "File name is %s0"
- split y " " " " " "
- put "\025dow %s0/proto:capture\r"
- pat 1i "Protocol Menu"
- pat 2i "\022"
- pat 3i "\024"
- pat 4 "ntinue anyway (Y or N)?"
- wait -f20; ki
- if 1 put "\0254\r"; wait -f20 : tell them CAPTURE
- if 4 put "\025no\r"; return
- if !2 echo "Download Failed"; return
- pat 4 ""
- estimate z2
- create %s0
- wait -f20
- close
- return
-