Re: Iterating and downloading a URL that lists files?
- From: Alexey Smirnov <alexey.smirnov@xxxxxxxxx>
- Date: Thu, 02 Aug 2007 00:08:22 -0700
On Aug 2, 5:15 am, "Jim Bancroft" <sd...@xxxxxxx> wrote:
Is there a way to open a URL, one that shows nothing other than a directory
listing, and iteratively go through the list to download the files?
Hi Jim,
you can use a HttpWebRequest with a StreamReader to get the page from
the URL, then the content of the page can be parsed with a regular
expression to get the list of all links and then again use
HttpWebRequest to get the files...
Hope it helps
.
- Follow-Ups:
- Re: Iterating and downloading a URL that lists files?
- From: Laurent Bugnion, MVP
- Re: Iterating and downloading a URL that lists files?
- References:
- Iterating and downloading a URL that lists files?
- From: Jim Bancroft
- Iterating and downloading a URL that lists files?
- Prev by Date: Re: What is the best pratice?
- Next by Date: Re: Tab Order in Repeater ir vertical, should be horizontal
- Previous by thread: Iterating and downloading a URL that lists files?
- Next by thread: Re: Iterating and downloading a URL that lists files?
- Index(es):
Relevant Pages
|