Re: get hangs application

Giganews Newsgroups
Subject: Re: get hangs application
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Mon, 4 Oct 2004

"Jonas" <easysoft_studi…@hotmail.com> wrote in message
news:F2558F3A05AFE240easysoft_studi…@hotmail.com...

> If the file I want to get is very large (say many hundreds of MB),
> my application simply hangs, and i cant do nothing.

Get() is a blocking function.  Do you have the TIdAntiFreeze enabled in the
first place?

Otherwise, I would suggest moving the FTP code into its own thread.  Then
you don't need the TIdAntiFreeze at all.

Gambit

Replies

In response to

get hangs application posted by Jonas on Mon, 4 Oct 2004