home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d479
/
uucp
/
uucp113.1.lzh
/
uucp1
/
sc
/
rget
< prev
next >
Wrap
AmigaDOS Script File
|
1991-02-06
|
910b
|
42 lines
.key host/A,file/A,file1,file2,file3,file4,file5,CD/K
.bra {
.ket }
; script to retrieve files from arbitrary remote hosts via the BITFTP
; server at princeton.
echo >t:get.tmp "To: bitftp@pucc.princeton.edu"
echo >>t:get.tmp "Subject:"
echo >>t:get.tmp ""
echo >>t:get.tmp "FTP {host} UUENCODE"
echo >>t:get.tmp "USER anonymous"
echo >>t:get.tmp "BINARY VARIABLE"
if x{CD} NOT EQ x
echo >>t:get.tmp "CD {CD}"
echo >>t:get.tmp "DIR"
endif
echo >>t:get.tmp "GET {file}"
if x{file1} NOT EQ x
echo >>t:get.tmp "GET {file1}"
endif
if x{file2} NOT EQ x
echo >>t:get.tmp "GET {file2}"
endif
if x{file3} NOT EQ x
echo >>t:get.tmp "GET {file3}"
endif
if x{file4} NOT EQ x
echo >>t:get.tmp "GET {file4}"
endif
if x{file5} NOT EQ x
echo >>t:get.tmp "GET {file5}"
endif
echo >>t:get.tmp "CLOSE"
echo >>t:get.tmp "QUIT"
type t:get.tmp
ask "OK?"
if WARN
sendmail <t:get.tmp -f bitftp-ret
endif
delete t:get.tmp QUIET