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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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