Every one, once in a life time, downloaded something. Imagine the case when you have a webpage containing a lot of songs, and you need to download every song. You can either use the layman's approach, that is right clicking on each and every link and saving file; or you can use the programmer's approach which is getting all HTML of the webpage, parsing it to get all the links and then downloading all the files simultaneously. In this post however, we will see how to download a file from a website. Here we will download one of my favorite song Dilli Wali Girlfriend. For that I have created a simple console application. And just a 5 line of code served the purpose.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,WebClient