home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / comm / misc / ScriptFTP.lha / ScripFTP / ScriptFTP-script < prev    next >
Encoding:
Text File  |  1996-10-07  |  776 b   |  28 lines

  1. ; ScriptFTP V1.2 -- exemple of script to use the script done.
  2. ;
  3. ; It uses MountFTP.
  4. ; It logs to the site named 'aminet' and then, execut the  script
  5. ; (done by ScriptFTP). you want that's in "aminet:" directory
  6. ; my default script is named ScriptFTP.data
  7. ;
  8. ; Important: FTPMount must be installed and mounted !!!
  9.  
  10. ; so if there is an error the script continue
  11. failat 21      
  12.  
  13. ; we use FTPMount
  14. cd ftp:
  15.  
  16. ; and enter in the aminet ftp (look at the FTMount.guide)
  17. cd aminet
  18.  
  19. ; now the script ask which script done by ScriptFTP i want to use
  20. execute `c:requestfile DRAWER AmiTCP: FILE ScriptFTP.data`
  21.  
  22. ; execute it.....
  23.  
  24. ; now the script done by ScriptFTP is over and this script warn me
  25. c:requestchoice "ScriptFTP" "ScriptFTP has finished its job!" "Ok"
  26.  
  27. ; close the cli
  28. endcli