Re: File Upload via HTTP Client

Giganews Newsgroups
Subject: Re: File Upload via HTTP Client
Posted by:  Remy Lebeau (TeamB) (
Date: Sun, 23 May 2004

"Hendrik Lenz" <hendrikle…> wrote in message

> i will do an Http based Fileupload (as a HTML Form via Multipart)
> with the HTTP Client Componet from Indy. Is there any example
> for this? Or what must i do to do this? Has anyone some Tips for me?

Use the TIdMultiPartDataStream class. It has an AddFile() method.  TIdHttp
has an overloaded version of the Post() method that works with



In response to

File Upload via HTTP Client posted by Hendrik Lenz on Sun, 23 May 2004