[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
FAQ-CSharp-Dowload-File-To-Disk
?Index
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
FAQ-CSharp-Dowload-File-To-Disk
How to download a file to disk in C#
All you have to do is to use these two lines to download a file from the internet and save it to your drive.string URL="http://www.yourdomain.com/file1.zip"; string DestinationPath="C:\file1.zip"; System.Net.WebClient Client = new WebClient(); Client.DownloadFile(URL,DestinationPath);
?Index
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
