Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: TidHttp List of files at website

www.cryer.info
Managed Newsgroup Archive

Re: TidHttp List of files at website

Subject:Re: TidHttp List of files at website
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Sun, 13 Aug 2006 11:56:32

"Huhtaman" <nhuhta@digital.net> wrote in message
news:44deb32c$1@newsgroups.borland.com...

> How can I obtain a list of files in a folder on a website ???

Under most circumstances, you can't.  That is not a feature of the HTTP
protocol.  The only way to do what you ask is to navigate to the URL of the
folder itself instead of to a particular page, and then manually parsing the
resulting HTML for the directory listing.  But that only works if the server
has directory browsing enabled in the first place, which most do not.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive