-=> Quoting SHIRL COLES to ALL <=-
SC> Is there a way to delete an entire file from within Telemate?
SC> I have looked, but don't see a way.
I use the following script to call a BBS and have the script delete
a file after it is uploaded.
FN="C:\TM\HUB-BW.new" ;name of your file to upload
Waitfor 0 ;wait until string matched
LOGON "c:\tm\hub2.log" ;name of your log file
Set AutoStop,On
WHEN "More [Y,n,=]? ","^M"
WHEN "Next bulletin [Y,n]? ","^M"
WHEN "Press ENTER to continue","^M"
WHEN "[y,N]? ","^M"
WHEN "download Now?","Y"
Waitfor "BBS, or wait a moment..." ;Binkley's prompt to press esc
Put "^[", ;press esc
Waitfor "What is your name: "
Put "Bill Eastman Y os2bill ^M" ;your name Y PASSWORD ^M
Waitfor "Select: "
Put "B", ;tell Max you want BlueWave reader
Waitfor "Select: "
fileexist FN,existflag ;check to see if messages to upload
if existflag ;if yes
Put "U", ; tell Max Upload
SEND "Z",FN ; tell Telemate to send file
IF SUCCESS ; if upload ok
DELETE FN ; delete it
ENDIF ; endif (upload ok)
Waitfor "Select: "
ENDIF ;endif (msg to upload)
Put "D", ;tell Max to download
LOGOFF
... Fido Netmail 1:382/1201 or Internet: beastman@tab.com
--- Blue Wave/Max v2.30
---------------
* Origin: The HUB * Austin TX * Centex PCUG * 512-346-1852 (1:382/1201)
|