download file

gixslayer

Member
Joined
Nov 8, 2008
Messages
19
Programming Experience
Beginner
Ok, so the goal is downloading a file, I already got the code that turns this link
VB.NET:
http://www.mediafire.com/?wx0lw00j5cz

into the link I need which is this:
VB.NET:
http://download15.mediafire.com/dhwryztymfhg/wx0lw00j5cz/AllStar2.4.rar

Works fine, but now I want to download it.
Which is the part which isn't really working.

This is my download code: (With textbox3.text being the correct link, was testing)
VB.NET:
My.Computer.Network.DownloadFile(TextBox3.Text, "C:\Test.rar", "", "", True, 1000000, True)

It downloads it, but when I want to open it it says it's damaged, then I looked at the size.

At the site download from it's 73.14 KB, the file in C:\ is only 26.6 KB :confused:

Anyone can fix the code so it will download fine? It would be a big bummer if this wouldn't work.
 
hi
every time you proceed for downloading your file , the URL will be changed randomly , i meant this URL
http://download15.mediafire.com/dhwryztymfhg/wx0lw00j5cz/AllStar2.4.rar
the region that i made it bold , will be changed , so there is no permanent link to download your file ! you can use of webbrowser object & use some tricks to download your file
 
Back
Top