Riamus
12-27-2009, 06:01 PM
As part of my installation, I need to download a file from a site as a pre-install to my installation. However, the filename to download changes based on the version of the file (the version number is part of the filename). How would I check the webpage to get the version number to insert into the filename to download? Basically, the version will appear on a webpage and I have to be able to grab that, remove the dot from the version, and append it to the filename.
Example: Version is 1.47
Remove the .: 147
Append to filename: file147.exe
Set as variable and then download, run, delete. <-- this I know how to do
I know how to parse a webpage using sockets, but I have no idea how to do so from this. Can anyone help?
Thanks!
Example: Version is 1.47
Remove the .: 147
Append to filename: file147.exe
Set as variable and then download, run, delete. <-- this I know how to do
I know how to parse a webpage using sockets, but I have no idea how to do so from this. Can anyone help?
Thanks!