Jump to content

how to get this link with autoit?


Recommended Posts

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 by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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

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

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 7851

Personaly 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 InetRead

http://www.sunbeltsoftware.com//Home-Home-Office/VIPRE-Antivirus-Premium/Definitions/

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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

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 7851

Personaly 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 InetRead

http://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 error

if I use Firefox the original download link (http://live.sunbeltsoftware.com/Download/ ) does not point correctly to

http://www.sunbeltsoftware.com/Evaluation/Rescue-CD/VIPRERescue8751.exe

but with Opera browser or IE the link is correct

this is strange

Link to comment
Share on other sites

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 by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...