9ululkchqn 发表于 2016-6-9 08:21:48

FTP导入脚本自动执行任务示例

  如何不使用 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


  Cescript.txt脚本内容
openftp.symantec.com
anonymous
nobody@spammer.com
cdpublic/english_us_canada/antivirus_definitions/norton_antivirus/static
lcdC:
bin
hash
prompt
getnavup8.exe
quit
页: [1]
查看完整版本: FTP导入脚本自动执行任务示例