Link to home
Start Free TrialLog in
Avatar of krose777
krose777

asked on

Download a file using http in visual basic dot net

I need to download a file via HTTP, instead of FTP, because of port 21 blocking issues.  

The file will be stored on either a Linux or Windows web server.  It is an executible file.  

What is the best way to download and save this file from the web using visual basic dot net?  I do not want to have to add or purchase any special components.  Was looking into binaryreaders or the httpwebrequest class - cant seem to find a solution, but I know it has to be out there.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of aelatik
aelatik
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of krose777
krose777

ASKER

works great.  Is there any way to verify that the file has been successfully downloaded (other than checking to see if the file exists - that might not mean the whole file was downloaded)?