Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2005 Jun : How to do "POST" and retrieve multipart file?
| Subject: | How to do "POST" and retrieve multipart file? |
| Posted by: | "sterrie" (terr..@web.de) |
| Date: | 15 Jun 2005 04:59:02 |
Hi,
I have to contact a server, send him a XML-file and get back a
multi-part file containing XML + binary data.
In the MSDN I found the documentation about WinInet but I do not
understand everything.
1. I have the URL but where do I have to put it in the method
HttpOpenRequest?
2. What's the difference between lpszObjectName and lpszReferrer in
HttpOpenRequest?
3. Which type I have to use for the lplpszAcceptTypes parameter because
"text/*" is not enough (for multi-part messages)?
Thx,
terrie