| View previous topic :: View next topic |
| Author |
Message |
userabuser
Joined: 15 Jul 2006 Posts: 31
|
Posted: Sat Jul 15, 2006 6:42 pm Post subject: how to update software packages on server |
|
|
Hi,
Am looking for thoughts on how to approach this problem.
I'd like to "autoupdate" software packages to my server. ie avg free eddition. However, the file name changes with the version.
For example: AVG FREE is here. http://free.grisoft.com/doc/5390/lng/us/tpl/v5#avg-free
I would like to, download it, and some others with one click of a button. wget obviously will not work as it does not support wildcards.
How might one approach this with autohotkey?
Thank You. |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6836 Location: France (near Paris)
|
Posted: Sun Jul 16, 2006 8:54 am Post subject: |
|
|
How do you get the link? From one Web page? URLDownloadToFile it, parse the file (using regular expressions or Titan's routines to handle HTML or some other mean) then download the linked file. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
userabuser
Joined: 15 Jul 2006 Posts: 31
|
Posted: Mon Jul 17, 2006 12:13 am Post subject: |
|
|
| PhiLho wrote: | | How do you get the link? From one Web page? URLDownloadToFile it, parse the file (using regular expressions or Titan's routines to handle HTML or some other mean) then download the linked file. |
Thank You
It worked wonderfully! |
|
| Back to top |
|
 |
ParanoidX
Joined: 16 Dec 2005 Posts: 148 Location: Australia
|
Posted: Mon Jul 17, 2006 4:29 am Post subject: |
|
|
| Quote: | Am looking for thoughts on how to approach this problem.
I'd like to "autoupdate" software packages to my server. ie avg free eddition. However, the file name changes with the version....
I would like to, download it, and some others with one click of a button. wget obviously will not work as it does not support wildcards. | There are lots of variation of wget, http://www.interlog.com/~tcharron/wgetwin.html supports wildcard. _________________
546F206C69766520
6973204368726973742C0D746F2064696520
6973206761696E2E0D285068696C20313A323129 |
|
| Back to top |
|
 |
badmojo
Joined: 11 Nov 2005 Posts: 202
|
|
| Back to top |
|
 |
userabuser
Joined: 15 Jul 2006 Posts: 31
|
Posted: Thu Oct 12, 2006 2:28 pm Post subject: |
|
|
Thanks for posting this. I actually "rolled my own" after I'd started this thread. And was mostly successfull. However, when I have a moment, I'll take his and mine and combine them.. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Thu Oct 12, 2006 2:43 pm Post subject: |
|
|
| Quote: | | how to update software packages on server | Slowly!  |
|
| Back to top |
|
 |
|