![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 12:37 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS批处理 & 脚本技术(批处理室) » 【Solution】 How to use batch processing to automatically download the xdb file on the following web page |
| Printable Version 3,022 / 11 |
| Floor1 chinaren12 | Posted 2007-01-11 09:47 |
| 中级用户 Posts 77 Credits 312 | |
|
Thanks vkill very much. His batch processing solved my problem. Thank you, I really admire vkill's batch processing ability. Oh, we noobs can only watch. Thanks vkill
Symantec's web page, http://securityresponse.symantec.com/avcenter/download/pages/CS-SAVCE.html I want to make a batch processing and put it on the server, let the batch processing automatically download the latest xdb virus database file on this web page every day. The main task of the batch processing is: Automatically download the latest virus database file from this web page or from ftp://ftp.symantec.com/AVDEFS/norton_antivirus/xdb/, and then copy it to the c:\program files\sav directory. May I ask you all, how should this batch processing be written? The main problem is that the name of this virus database is different every day. How can I get the latest file name? I mainly want to download the virus database file on its web page, but I am not good at batch processing, so please ask all the experts for advice May I ask all the experts, how should this batch processing be done? [ Last edited by chinaren12 on 2007-1-14 at 06:40 AM ] |
|
| Floor2 chinaren12 | Posted 2007-01-11 10:19 |
| 中级用户 Posts 77 Credits 312 | |
|
In the FTP command in Windows 2003, which command can list all files in a specific FTP directory to the local hard disk?
|
|
| Floor3 chinaren12 | Posted 2007-01-11 14:06 |
| 中级用户 Posts 77 Credits 312 | |
|
Hey, no one is willing to teach me???
|
|
| Floor4 chinaren12 | Posted 2007-01-12 03:25 |
| 中级用户 Posts 77 Credits 312 | |
|
Everyone, please support me.
|
|
| Floor5 chinaren12 | Posted 2007-01-12 08:16 |
| 中级用户 Posts 77 Credits 312 | |
|
Bump yourself up, hoping to get the answer out
|
|
| Floor6 vkill | Posted 2007-01-13 06:10 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
|
Search for previous posts, there is a post that is the same as this one
|
|
| Floor7 vkill | Posted 2007-01-13 06:17 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
|
Randomly written, no testing
wget "http://securityresponse.symantec.com/avcenter/download/pages/CS-SAVCE.html" sed "/>.*.xdb</!d;s/.*\(http:\/\/.*.xdb\)\x22>.*/\1/" CS-SAVCE.html|wget -i "-" [ Last edited by vkill on 2007-4-18 at 02:44 AM ] |
|
| Floor8 chinaren12 | Posted 2007-01-14 05:42 |
| 中级用户 Posts 77 Credits 312 | |
Originally posted by vkill at 2007-1-13 06:17 AM: Dude, can you please post the address of that post for me? I'm extremely grateful, Also, is wget in the example another software? If so, please give an address, thank you |
|
| Floor9 chinaren12 | Posted 2007-01-14 06:33 |
| 中级用户 Posts 77 Credits 312 | |
|
Very grateful to vkill,
Your batch processing is very successful, thank you very much, expert, admire, great, thank you, thank you!!!!!!!!!!!!!!! Thanks a lot!!!!!!!!! |
|
| Floor10 chinaren12 | Posted 2007-01-14 06:35 |
| 中级用户 Posts 77 Credits 312 | |
|
It would be great if friend vkill could explain the functions of these several statements!!!!!
|
|
| Floor11 vkill | Posted 2007-01-14 06:42 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
Originally posted by chinaren12 at 2007-1-14 06:35: |
|
| Floor12 chinaren12 | Posted 2007-01-14 06:51 |
| 中级用户 Posts 77 Credits 312 | |
|
I know wget, but I don't know the sed command. Can you tell me in detail? Especially the usage of getting http addresses through wildcards, and can you give more examples?
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |