Directory listing over http

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom

    #1

    Directory listing over http

    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
  • Sven Putze

    #2
    Directory listing over http

    Hi Tom,

    maybe this can hep you:
    Central resource site for the WebDAV community.

    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

    Comment

    • Tom

      #3
      Re: Directory listing over http

      Thanks a lot. I'll give it a try.

      Tom

      Comment

      Working...