Download a file from a website in Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

This is a code sample to download a file or an image from a website or a server to local computer in visual basic .net
To download a file from a website add the following code:
My.Computer.Network.DownloadFile("", _
The first part is the destination of the file that sitting on the server, and the second part is destination on your computer where you want to download the file to.

Share This

Home | About | Contact | Privacy Policy

Copyright 2018 - All Rights Reserved.