I've been trying to come up with a good way of pushing virus updates to others on my network. We have Linux servers, and Windows workstations, and they only talk to each other via an intermediary server. The Windows workstations are otherwise not connected to the internet.
My goal is to say "wget http://my.antiviruscorp.com/updates/tables*.zip
I know wget won't support wildcards on HTTP and my AV corp doesn't have an FTP site.
I've been told that curl/libcurl could do what I want, but I'm having the damnest time figuring out how the hell to get it to grab the file I want. I've tried curl'ing the direct link, but that downloads it and posts the binary to my screen, and not a file.
Can anyone give me a heads up on where to begin? The man pages don't seem to illustrate this particular use, nor to the FAQ's on the main curl site.
Otherwise, is there a way to grep a webpage so I can just find out what the full name of the tables file I need to DL is and then just push that name on the end of the wget script as a variable. This would actually be my preferred route because this way I can hack the script to only DL exactly what I want.
Thanks in advance,