Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 May : Post a file using Indy 10 HTTP client
| Subject: | Post a file using Indy 10 HTTP client |
| Posted by: | "Ben van Erp" (bve..@ocenl.nl) |
| Date: | 19 May 2005 01:06:20 |
Hi,
I developed an application that post a file using the Indy 9 HTTP client. Now i upgraded to Indy 10 and i see that some things have changed.
In Indy 9 i used this code:
XMLStream.LoadFromFile(TempFolder+'Upload.xml');
URL := 'http://' + Host + '/servlet/Upload';
IdHTTP1.Port := 8001;
IdHTTP1.Post(URL,XMLStream);
Can someone tell me how i can do this with Indy 10?
Thanks!
Ben