Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 May : THttpCli relative path
| Subject: | THttpCli relative path |
| Posted by: | "Pantelis Saroglou" (pantelu..@gmail.com) |
| Date: | Mon, 30 May 2005 11:47:07 |
Hi. I'm using ICS's THttpCli. let's say that i ahve a url path :=
'localhost://a/b/c.html'. Then when I read this file i extract some relative
links like './d.html','../e.html' etc. So, how can I use these relative
paths (convert them to absolute) in order to use httpCli1.url?I know that I
create a custom engine for this conversion, but it seems very weird to me
that ICS or Delphi haven't something like that(ExpandFileName doesn't suit).
Or I'm just too blind and can't find it.
Thank you in advance
Pantelis Saroglou