home *** CD-ROM | disk | FTP | other *** search
- /* this one sends files from the mainframe to the Amiga using VLT */
-
-
- if ~showlist('l','rexxarplib.library') then address command addrexxlib
-
- host = address()
- if host ~= "VLT" then do
- x=postmsg(0,0," ","VLT")
- call delay 40
- x=postmsg()
- x = screentofront("VLT")
- end
-
- fillstring = ""
- fillstring = fillstring||"1. Make sure your terminal is in\"
- fillstring = fillstring||" FILELIST and your cursor is to\"
- fillstring = fillstring||" the left of the file to be sent.\"
- fillstring = fillstring||"2. Fill in the directory the file should\"
- fillstring = fillstring||" be saved in. The default is shown\"
- fillstring = fillstring||"3. To continue click on Get It\"
- fillstring = fillstring||" To cancel click on Cancel"
-
- y=request(326,120,fillstring ,"vd0:","Get It", "Cancel","VLT")
-
- if y = "" then do
- if host ~= "VLT" then x = screentoback("VLT")
- exit
- end
-
- directory = y
-
-
-
-
- sendstring = "kermit send */ *R"
- sendstring = '"'||sendstring||'"'
-
-
- if host ~= "VLT" then address VLT
- do
-
-
- CD directory
- SEND "*X7"
- SEND sendstring
-
- call delay 250
-
- KR
-
- SEND "*R"
- call delay 40
- SEND "*R*R"
- call delay 40
- SEND "*R"
- SEND "*F"
- SEND "*F"
-
- end
-
- if host ~= "VLT" then x=screentoback("VLT")
- exit 0
-
-
-
- HALT:
- exit 20
-
- BREAK_C
- exit 20