home *** CD-ROM | disk | FTP | other *** search
/ BUG 11 / BUGCD1998_02.ISO / util / _virscan / wnt / data.z / FTPGET.CMD < prev    next >
OS/2 REXX Batch file  |  1997-08-21  |  1KB  |  43 lines

  1. @echo off
  2.  
  3. rem *****  FTPGET.CMD                                 *****
  4. rem *****  Copyright (C) 1996 McAfee Associates Inc.  *****
  5. rem *****  This script will download file specified   *****
  6. rem *****  on the command line form mcafee.com        *****
  7. rem *****  /pub/updates directory                     *****
  8. rem *****  errors and status information will be      *****
  9. rem *****  logged into FTPGET.LOG in the current      *****
  10. rem *****  directory                                  *****
  11. rem *****                                             *****
  12. rem *****  THIS IS STRICTLY A SAMPLE DOWNLOAD SCRIPT  *****
  13. rem *****  Please update this file to reflect         *****
  14. rem *****  valid download location, username,         *****
  15. rem *****  and password.                              *****
  16. rem *****                                             *****
  17.  
  18.  
  19.  
  20. rem Create FTP command file FTPCMD.FTP
  21.  
  22. echo open>FTPCMD.FTP
  23. echo ftp.mcafee.com>>FTPCMD.FTP
  24. echo ftp>>FTPCMD.FTP
  25. echo %USERNAME%@%USERDOMAIN%>>FTPCMD.FTP
  26. echo bin>>FTPCMD.FTP
  27. echo get /pub/updates/%1>>FTPCMD.FTP
  28. echo close>>FTPCMD.FTP
  29. echo quit>>FTPCMD.FTP
  30.  
  31.  
  32.  
  33.  
  34. rem Now launch ftp.exe with the command file FTPCMD.FTP
  35.  
  36. ftp -s:FTPCMD.FTP >> FTPGET.LOG
  37.  
  38. rem Now delete FTPCMD.FTP
  39.  
  40. del FTPCMD.FTP > nul
  41.  
  42. rem We're done
  43.