probably not an Indy question

Giganews Newsgroups
Subject: probably not an Indy question
Posted by:  xdiscent (xdisce…
Date: Thu, 30 Dec 2004

This probably aint indy one..

How do I temporarily write data to disk while the download aint finished

A little snippet of my code
        TIdHTTP *IdHttpClient = new TIdHTTP(NULL);
        TMemoryStream *MStream = new TMemoryStream();

    IdHttpClient->Get(strUrl, MStream);

Now I don't want the whole downloaded data to be staying in memory
(sometimes around 100mb). So i'm planning of append to file for every
1mb of data in MStream.

Any help?