Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: Can you add parameter to filename in wininet InternetReadFile
| Subject: | Re: Can you add parameter to filename in wininet InternetReadFile |
| Posted by: | "Joe H" (joedot..@att.net) |
| Date: | 5 Oct 2007 09:28:59 |
Joe H wrote:
> Does anyone know if you can add a ?parameter to the url and have it
> still work and would that generate a web log entry the same as if
> someone clicked a link with that parameter?
>
> eg: hurl := InternetOpen('www.Mysite/apage.htm?myInfo', etc.)
> and then internetRead(hurl, etc...)
>
> Or is downloading a file like this more like an ftp raw download?
>
> I know I can just write a test program for it, but I was hoping
> someone already knows and can save me that bit of time. Thanks.
I figured it out. The answer is that it's exactly the same as a web
click and it shows in the web site logs with the parameter.
--
none