Directory listing over http

T

Tom

I need to get a directory listing through http. If I put the directory
path in the browser address bar such as http://somewebpage.com/subdir
I get the listing of the directory. Of course this is returned to my
client in html. To get the directory listing from this I would need to
do some intersting parsing. ftp is not enabled and so I can't do an
"ls" through some ftp client. Is there some way in C# to get a
directory listing using something like the WebClient object?

Thanks,
Tom
 
S

Sven Putze

Hi Tom,

maybe this can hep you:
http://www.webdav.org/
They describe how to enable the webdav service on
directories delivered by the webserver. Having this
enabled you can handle it like a normal file system.

regards
Sven
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top