home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 11
/
BUGCD1998_02.ISO
/
util
/
_virscan
/
wnt
/
data.z
/
FTPGET.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-08-21
|
1KB
|
43 lines
@echo off
rem ***** FTPGET.CMD *****
rem ***** Copyright (C) 1996 McAfee Associates Inc. *****
rem ***** This script will download file specified *****
rem ***** on the command line form mcafee.com *****
rem ***** /pub/updates directory *****
rem ***** errors and status information will be *****
rem ***** logged into FTPGET.LOG in the current *****
rem ***** directory *****
rem ***** *****
rem ***** THIS IS STRICTLY A SAMPLE DOWNLOAD SCRIPT *****
rem ***** Please update this file to reflect *****
rem ***** valid download location, username, *****
rem ***** and password. *****
rem ***** *****
rem Create FTP command file FTPCMD.FTP
echo open>FTPCMD.FTP
echo ftp.mcafee.com>>FTPCMD.FTP
echo ftp>>FTPCMD.FTP
echo %USERNAME%@%USERDOMAIN%>>FTPCMD.FTP
echo bin>>FTPCMD.FTP
echo get /pub/updates/%1>>FTPCMD.FTP
echo close>>FTPCMD.FTP
echo quit>>FTPCMD.FTP
rem Now launch ftp.exe with the command file FTPCMD.FTP
ftp -s:FTPCMD.FTP >> FTPGET.LOG
rem Now delete FTPCMD.FTP
del FTPCMD.FTP > nul
rem We're done