HAL9000 Posted March 19, 2011 Share Posted March 19, 2011 how to get this link with autoit? http://live.sunbeltsoftware.com/Download/ this is not a direct link, real link is like this http://www.sunbeltsoftware.com/Evaluation/RescueCD/VIPRERescue8740.exe Link to comment Share on other sites More sharing options...
bogQ Posted March 19, 2011 Share Posted March 19, 2011 (edited) That is direct link Did you try with InetGet ? Example (if i edited it correctly from help file) $data = Round(InetGetSize("http://live.sunbeltsoftware.com/Download/")/1024/1024,2) Local $hDownload = InetGet("http://live.sunbeltsoftware.com/Download/", "VIPRERescue.exe", 1, 1) Do Sleep(250) ToolTip(Round(InetGetInfo($hDownload,0)/1024/1024,2)&" MB OF "&$data&" MB") Until InetGetInfo($hDownload, 2) ; Check if the download is complete. Local $nBytes = InetGetInfo($hDownload, 0) InetClose($hDownload) ; Close the handle to release resourcs. MsgBox(0, "", "Bytes read: " & $nBytes) Edited March 19, 2011 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
HAL9000 Posted March 19, 2011 Author Share Posted March 19, 2011 That is direct link Did you try with InetGet ? Example (if i edited it correctly from help file) $data = Round(InetGetSize("http://live.sunbeltsoftware.com/Download/")/1024/1024,2) Local $hDownload = InetGet("http://live.sunbeltsoftware.com/Download/", "VIPRERescue.exe", 1, 1) Do Sleep(250) ToolTip(Round(InetGetInfo($hDownload,0)/1024/1024,2)&" MB OF "&$data&" MB") Until InetGetInfo($hDownload, 2) ; Check if the download is complete. Local $nBytes = InetGetInfo($hDownload, 0) InetClose($hDownload) ; Close the handle to release resourcs. MsgBox(0, "", "Bytes read: " & $nBytes) this is a direct link http://www.sunbeltsoftware.com/Evaluation/Rescue-CD/VIPRERescue8740.exe this is not a direct link http://live.sunbeltsoftware.com/Download/ Link to comment Share on other sites More sharing options...
bogQ Posted March 19, 2011 Share Posted March 19, 2011 (edited) how to get this link with autoit?http://live.sunbeltsoftware.com/Download/One more time, what are you trying to get?program behind short link? or short link itself from some page?or version of file so that you can use longer link?Whats the point of longer link, to download older version?Link that you posted ar not identical, your download version 7840 original download version 7851Personaly if you are looking for definition, if it whas me, i try to extract the name from this page using _IE* or some other funcs like InetReadhttp://www.sunbeltsoftware.com//Home-Home-Office/VIPRE-Antivirus-Premium/Definitions/ Edited March 19, 2011 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
HAL9000 Posted March 20, 2011 Author Share Posted March 20, 2011 One more time, what are you trying to get?program behind short link? or short link itself from some page?or version of file so that you can use longer link?Whats the point of longer link, to download older version?Link that you posted ar not identical, your download version 7840 original download version 7851Personaly if you are looking for definition, if it whas me, i try to extract the name from this page using _IE* or some other funcs like InetReadhttp://www.sunbeltsoftware.com//Home-Home-Office/VIPRE-Antivirus-Premium/Definitions/i want to download VIPRE Rescue Program from http://live.sunbeltsoftware.com/the number of exe changes every update (Current Version: VIPRERescue8751.exe) but it seems that today there is an errorif I use Firefox the original download link (http://live.sunbeltsoftware.com/Download/ ) does not point correctly tohttp://www.sunbeltsoftware.com/Evaluation/Rescue-CD/VIPRERescue8751.exebut with Opera browser or IE the link is correct this is strange Link to comment Share on other sites More sharing options...
bogQ Posted March 20, 2011 Share Posted March 20, 2011 (edited) Well i did give you the script that will download that program, correct? so whats the problem my script? did you try the script>? Edited March 20, 2011 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
HAL9000 Posted March 20, 2011 Author Share Posted March 20, 2011 I tried and it did not work, today it is working properly I thought that was possible to use only links like http://www.autoitscript.com/autoit3/files/beta/update.dat Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now