Jump to content

URLDownloadToFile


Recommended Posts

I made a script that downloads updates and hotfixes.

All of them download (and install fine) except for .Net Framework.

AutoIt didn't download the file (link is below).

http://download.microsoft.com/download/4/6...0b/dotnetfx.exe

I think it's because the file is 23.1 MBs big.

Do you have a solution? If not, I'll just use Iopus Downloader...

Link to comment
Share on other sites

The following code worked for me:

UrlDownloadToFile("http://download.microsoft.com/download/4/6/b/46b519cb-" &_ 
"bdd2-4701-b962-9ffaa323f40b/dotnetfx.exe","c:\tmp\aa_delete-me.exe")

I ended up with a 23.1 MB file (24,272,416 bytes) with an MD5sum of c8dabb45ddcd96f40b173947af0dca22.

Edited to split the line to make my reply more readable

Edited by pekster

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Link to comment
Share on other sites

Damn... I tried it twice.

I'll try again and then I'll edit this post with the result.

The third time: failed again.

I downloaded the file using IE: worked.

I cleared my IE cache and let AutoIt download the file: worked.

It probably was my internet connection.

Edited by SlimShady
Link to comment
Share on other sites

Just for fun, what version do you have? I'm using the June 21st 3.0.102 release.

Edit: just updated to the June 22nd release, and it worked there as well.

Edited by pekster

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Link to comment
Share on other sites

Just for fun I downgraded to the June 16th release, and it worked for me. Perhaps it's a proxy setting, or another reason why IE isn't properly downloading the file. Maybe a firewall restriction? Just some ideas.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

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...