468,768 Members | 1,318 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,768 developers. It's quick & easy.

Listing directories of a domain

Hi,
I'd like to know whether it is possible to know the sub-directories
and also files of a domain, especially domains. Does system.net
provides such a function?

For example: you only know www.xyz.com but xyz.com has sub directories
such as xyz.com/abc or xyz.com/abc/123, that's why it would be nice to
know the directories "abc" and "123".

Thanks!
Feb 17 '08 #1
3 880
That largely depends on the web server, whether directory listings are
enabled for the authorized (or anonymous) user.

On Sun, 17 Feb 2008 04:30:53 -0800 (PST), kimiraikkonen
<ki*************@gmail.comwrote:
>Hi,
I'd like to know whether it is possible to know the sub-directories
and also files of a domain, especially domains. Does system.net
provides such a function?

For example: you only know www.xyz.com but xyz.com has sub directories
such as xyz.com/abc or xyz.com/abc/123, that's why it would be nice to
know the directories "abc" and "123".

Thanks!
Feb 17 '08 #2
On Feb 17, 3:02 pm, Grok wrote:
That largely depends on the web server, whether directory listings are
enabled for the authorized (or anonymous) user.

On Sun, 17 Feb 2008 04:30:53 -0800 (PST), kimiraikkonen

<kimiraikkone...@gmail.comwrote:
Hi,
I'd like to know whether it is possible to know the sub-directories
and also files of a domain, especially domains. Does system.net
provides such a function?
For example: you only knowwww.xyz.combut xyz.com has sub directories
such as xyz.com/abc or xyz.com/abc/123, that's why it would be nice to
know the directories "abc" and "123".
Thanks!
If server allows that feature, how to get directory listing info under
VB.NET project?
Feb 17 '08 #3

"kimiraikkonen" <ki*************@gmail.comkirjoitti viestissä
news:f6**********************************@c33g2000 hsd.googlegroups.com...
If server allows that feature, how to get directory listing info under
VB.NET project?
I think there is no easy solution for this. The only way might be just parse
html-files showing directories and files that are shown with browser.

If you can't see directory listings you can't get them. It would be a big
security risk to let people see directory structures.

-Teemu

Feb 17 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jason | last post: by
19 posts views Thread by SU News Server | last post: by
4 posts views Thread by Jonny | last post: by
1 post views Thread by Sam Marrocco | last post: by
8 posts views Thread by gil | last post: by
2 posts views Thread by ngr | last post: by
4 posts views Thread by techusky | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.