
' run tsr first           text_tsr "FTP> ,bye"
' for ftp-wiz.exe only

  drv = 65
  drv$=chr$(drv)+":\"
  logfile$=drv$+"ftplogin.scr"
  ftpwiz$=drv$+"ftp-wiz.exe"

  ticks = 10 * 1092	' minutes



  ' example of software watchdog timer for ftp-wiz
  ' if ftp-wiz hangs up with "FTP> _" on the screen, 
  ' then the watchdog timer enters "bye" to get out of it 

  poke2 0,&H4F0,ticks		  ' for text_tsr (watch for next 10 minutes)
    shell ftpwiz$+"-f "+logfile$
  poke2 0,&H4F0,0		  ' clear watchdog timer

