|Subject:||Re: Canceling while downloading|
|Posted by:||Don (ehel…@hotmail.com)|
|Date:||Sat, 20 Dec 2003|
I think I resolved the problem.
I put a line in FormCreate:
"Don" <ehel…@hotmail.com> wrote in message
> When I used TNMHTTP, it was able to cancel while downloading clicking a
> button "Stop."
> Now I am using TIdHTTP, and it does not allow me to click the Stop button.
> The entire application is frozen while it is downloading. I can only click
> ths Stop button after it finishes downloading. I am sure I am doing
> something wrong. Anybody can help me?
> The code is:
> fstream:=TFileStream.create(savefname, fmcreate);
> IdHTTP1.Get(URL, fstream);
Canceling while downloading posted by Don on Fri, 19 Dec 2003