Directory listing over http

  • Thread starter Thread starter Tom
  • Start date Start date
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
 
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
 
Back
Top