Download an Entire Website in C# -


forgive ignorance on subject

i using

 string p="http://" + textbox2.text;  string r= textbox3.text;  system.net.webclient webclient=new  system.net.webclient();  webclient.downloadfile(p,r); 

to download webpage. can please me enhancing code downloads entire website. tried using html screen scraping returns me href links of index.html files. how proceed ahead

thanks

scraping website lot of work, lot of corner cases.

invoke wget instead. manual explains how use "recursive retrieval" options.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -