Abhishek B.
Abhishek B.

Reputation: 5202

How to download all files from web URL?

I want to get all files from URL. files may be different types of extensions.
How I get all files with webclient object from Website URL. when I open website Url then files listed as below format

  • ...
  • Frame.js
  • MyFile.png
  • Class1.cs

"Files and folder list from web URL"

Upvotes: 3

Views: 7236

Answers (2)

Lucian
Lucian

Reputation: 3554

As I can see your platform is Windows. If you are just looking for a tool to download all the files please look at wget in http://unxutils.sourceforge.net/.

A simple usage:

wget -H -r --level=1 -k -p <url>

Upvotes: 4

ColinE
ColinE

Reputation: 70142

You need to write yourself a very simple web crawler. Google for 'C# web crawler' and you will find a number of blogs with simple implementations such as this one:

How To: Write a Crawler in C#

Upvotes: 4

Related Questions