Reputation: 11011
Is there a way to see the tree of a website? Let's say: www.randomsite.com has a folder at root, named "idunno" which contains a file "hello.html". Is there a way to browse these like using explorer?
Upvotes: 0
Views: 9326
Reputation: 328536
There are two ways:
You can crawl all pages on the site and build a map of all the URLs and extract paths from that.
You can become Google and ask the site admin to send you a sitemap.xml.
After that, you can write a tool which displays the map as a tree.
Background: Many web sites don't use folders on disk but databases to store their content. So on the web the notion "folder" doesn't always make sense.
Upvotes: 0
Reputation: 180
The web server has to have directory browsing turned on. Many sites turn it off for security purposes.
Upvotes: 2