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

    技术2022-05-11  63

     

    如何不使用 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脚本内容

    open ftp . symantec . comanonymousnobody@spammer . com cd  public / english_us_canada / antivirus_definitions / norton_antivirus / staticlcd C: binhash prompt get navup8 . exequit

    最新回复(0)