|Subject:||Re: How to download a dynamic content created by a GET call|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Thu, 27 Nov 2003|
"Thomas Bauer" <baut…@yahoo.com> wrote in message
> 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.
How to download a dynamic content created by a GET call posted by Thomas Bauer on Thu, 27 Nov 2003