home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WDR Computer Club Digital 1997 April
/
cc970402.bin
/
ANTIVIRU
/
MCAF_WNT
/
GUI
/
DATA.Z
/
FTPGET.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-12-17
|
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