Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : 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:58:43 |
"Huhtaman" <nhuhta@digital.net> wrote in message
news:44df4e8a@newsgroups.borland.com...
> I believe this is possible - I have researched this in the newsgroups
> but cant quite understand how they are using the get command. But
> - there are references to getting a list of files via Tidhttp.
Again, it is only possible if the server has enabled that feature. If it
has (which most servers do not), then you can pass the URL of the desired
directory to Get(), download the resulting HTML that lists the contents of
the directory, and then parse the HTML as needed. Also keep in mind that
the format of the HTML is not standardized. Dfferent servers that use
different server software will return different HTML.
Gambit
none