如何不使用 LiveUpdate 来自动更新 Symantec AntiVirus 企业版的定义
http://service1.symantec.com/SUPPORT/INTER/ent-securitysimplifiedchinesekb.nsf/0/aedbcf89013e49a388256d9600609995?OpenDocument&seg=en&lg=zh&ct=cn
一个很好的示例,演示了使用Windows自带的FTP命令-s参数,执行Cescript.txt脚本中的一系列命令,从Symantec FTP下载最新的病毒库并安装到本地,cegetter.bat做成计划任务后则可以每天定时下载病毒库了。
cegetter.bat批处理内容
ftp -s:cescript.txt
call "%systemdrive% avup8.exe"
move %systemdrive%*.xdb <path>
del /q %systemdrive%navup8.exe
call "%systemdrive% avup8.exe"
move %systemdrive%*.xdb <path>
del /q %systemdrive%navup8.exe
Cescript.txt脚本内容
open ftp.symantec.com
anonymous
nobody@spammer.com
cd public/english_us_canada/antivirus_definitions/norton_antivirus/static
lcd C:
bin
hash
prompt
get navup8.exe
quit
anonymous
nobody@spammer.com
cd public/english_us_canada/antivirus_definitions/norton_antivirus/static
lcd C:
bin
hash
prompt
get navup8.exe
quit
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1516110