How to use a WebClient
Any help is appreciated...
Mike
Any help is appreciated...
Mike
Hi
if you're trying to scrape an entire site you do have to know all the files in the site.
Instead of downloading a file, try downloading a string, parsing that for:
- links
- images
- ....
afterwards, write the links and images and so on to a download queue
and write the string out to a file
Hope this helps you out
If you simply wanted to get some work done i would recommend that you simply spawn a System.Diagnostics.Process and use a win32 version of wget..
hi
not unless you have browsing rights on the directory, then you could parse them from the html you get back..
otherwise, like in my post above, just go to one page, get out all the images, links and put them in download queues...
Hope this helps you out