Re: How to download a dynamic content created by a GET call

Giganews Newsgroups
Subject: Re: How to download a dynamic content created by a GET call
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Thu, 27 Nov 2003

"Thomas Bauer" <baut…@yahoo.com> wrote in message
news:0A43F75F1888E240baut…@yahoo.com...

> but how do i detect the file download with TidHTTP, and
> save it ? any examples out there ?

Simply provide a TFileStream when you call TIdHTTP::Get() and it will
automatically save the downloaded content to the TFileStream.  If you want
to prompt the user for the filename, you will have to do it before you call
Get(), you can't do it during the actual download.  You can try calling
Head() first to gather information about the file prior to downloading it.

Gambit

Replies

None

In response to

How to download a dynamic content created by a GET call posted by Thomas Bauer on Thu, 27 Nov 2003