AutoHotkey Community

It is currently May 27th, 2012, 8:48 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: July 15th, 2006, 7:42 pm 
Offline

Joined: July 15th, 2006, 7:36 pm
Posts: 31
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 16th, 2006, 9:54 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
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.

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 17th, 2006, 1:13 am 
Offline

Joined: July 15th, 2006, 7:36 pm
Posts: 31
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 17th, 2006, 5:29 am 
Offline

Joined: December 16th, 2005, 3:29 am
Posts: 148
Location: Australia
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.

_________________
Image
546F206C69766520
6973204368726973742C0D746F2064696520
6973206761696E2E0D285068696C20313A323129


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2006, 6:33 am 
Offline

Joined: November 11th, 2005, 3:13 am
Posts: 202
this is a probable solution by skrommel -> http://www.donationcoder.com/Forums/bb/ ... pic=3755.0


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2006, 3:28 pm 
Offline

Joined: July 15th, 2006, 7:36 pm
Posts: 31
badmojo wrote:
this is a probable solution by skrommel -> http://www.donationcoder.com/Forums/bb/ ... pic=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..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2006, 3:43 pm 
Quote:
how to update software packages on server
Slowly! :lol:


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Google Feedfetcher, XstatyK and 60 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group