Download from internet and overwrite file

August 5, 2011 at 04:35:49
Specs: Windows 7, Core2Duo
Hi
Thanks for your help in advance.
-I need to download from mcafee website where file name change number everyday and save file to update.exe on local drive.
-Example: file from mcafee is call 6875.exe and save to update.exe
------------------------------------------------6876.exe and save to update.exe
------------------------------------------------6878.exe and save to update.exe

hoping that it is not confusing.sorry
If you need any additional info please let me know
Regards,
Delco


See More: Download from internet and overwrite file

Report •


#1
August 5, 2011 at 06:33:23
file name change number everyday
And I'm to guess this number. . . how?

How To Ask Questions The Smart Way


Report •

#2
August 5, 2011 at 21:23:48
Hi Razor,
Thanks for your reply. Actually the file change the front number, today it is 6429xbat.exe,tomorrow 6430xbat.exe and it goes like this.I can send you the link but i dont know if it is possible to put on the site here. What i did i save it on my local drive as update.exe but everytime i need to download it manually.

Hope not confusing you.
Delco


Report •

#3
August 6, 2011 at 05:43:20
It doesn't matter if you know the name, nor if you know the pattern. The question is how do you tell the computer what the name is or should be.

If you have a static address that points you to these files, then that's good! You could use something like a Windows version of wget to download the page, parse the page, and then use wget again to download the file.

How To Ask Questions The Smart Way


Report •

Related Solutions

#4
August 7, 2011 at 22:46:22
Hi Razor,
I understand but unfortunately the link itself is not static, thanks anyway but what I want to do now is to extract the downloaded file from one pc and spread it on other pc using a scheduler. Is it possible to help me on that??I have the log where the file that has been download and update in txt file.

I thanks you really for your help.
Delco


Report •


Ask Question