AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to update software packages on server

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
userabuser



Joined: 15 Jul 2006
Posts: 31

PostPosted: Sat Jul 15, 2006 6:42 pm    Post subject: how to update software packages on server Reply with quote

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
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6836
Location: France (near Paris)

PostPosted: Sun Jul 16, 2006 8:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
userabuser



Joined: 15 Jul 2006
Posts: 31

PostPosted: Mon Jul 17, 2006 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
ParanoidX



Joined: 16 Dec 2005
Posts: 148
Location: Australia

PostPosted: Mon Jul 17, 2006 4:29 am    Post subject: Reply with quote

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
View user's profile Send private message
badmojo



Joined: 11 Nov 2005
Posts: 202

PostPosted: Thu Oct 12, 2006 5:33 am    Post subject: Reply with quote

this is a probable solution by skrommel -> http://www.donationcoder.com/Forums/bb/index.php?topic=3755.0
Back to top
View user's profile Send private message
userabuser



Joined: 15 Jul 2006
Posts: 31

PostPosted: Thu Oct 12, 2006 2:28 pm    Post subject: Reply with quote

badmojo wrote:
this is a probable solution by skrommel -> http://www.donationcoder.com/Forums/bb/index.php?topic=3755.0


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
View user's profile Send private message
BoBo
Guest





PostPosted: Thu Oct 12, 2006 2:43 pm    Post subject: Reply with quote

Quote:
how to update software packages on server
Slowly! Laughing
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group