Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Indy ftp client freezes
| Subject: | Re: Indy ftp client freezes |
| Posted by: | "Jamie Dale" (j.da..@turboz.net) |
| Date: | Fri, 2 Jun 2006 12:36:04 |
Well in Delphi 6 there is a yellow bottle icon in the "Indy Misc" tab on the
component pallette. (It looks like a gasoline bottle (or petrol can if your
british like me)).
Drop one of those onto the form (and any others you have in the app for best
results) and it will force the forms to be redrawn/refreshed while the indy
component is still working/freezing.
You do still notice a very mild (and I mean mild) sluggishness but it's very
tiny and can hardly be noticed. Assuming your version of Indy still has the
Antifreeze component then you really should use it on every form whenever
you use an Indy component. Indy uses blocking sockets (I think - might be
non-blocking I can't remember now but they're apparently evil these sockets)
and so whenever you use an Indy component, it will freeze while it's doing
stuff. Antifreeze is their solution to this and works very effectively.
Hope this helps!
Jamie
"Marion Sacharin" <marion@hillbrent.co.uk> wrote in message
news:447fd598$1@newsgroups.borland.com...
> It's not a dumb question at all!
>
> What's the AntiFreeze component?? (Now THAT might be a dumb question!)
>
> Thanks for your help.
>
> Best wishes
> Marion
>
> --
>
> ** Scanned with Norton Anti-Virus Corporate Edition **
> "Jamie Dale" <j.dale@turboz.net> wrote in message
> news:447f565f@newsgroups.borland.com...
>> More to the point, are you actually using the AntiFreeze component?
>> (Sorry if it's a dumb question, but at least it eliminates it)
>>
>> J
>> "Marion Sacharin" <marion@hillbrent.co.uk> wrote in message
>> news:447f1494$1@newsgroups.borland.com...
>>> Yes, I am. And, yes, I agree that's what it sounds like.
>>>
>>> Is there anything I can do about it, do you think?
>>>
>>> Best wishes
>>> Marion
>>>
>>> --
>>>
>>> ** Scanned with Norton Anti-Virus Corporate Edition **
>>> "Guillem" <guillemvicens-nospam@clubgreenoasis.com> wrote in message
>>> news:xn0emyonoedc8o001@newsgroups.borland.com...
>>>> Marion Sacharin wrote:
>>>>
>>>>> Hello
>>>>>
>>>>> I am having a problem with the Indy ftp client and Delphi 6.
>>>>>
>>>>> I am trying to upload files to a server. It works most of the time,
>>>>> but when there is any other (major) internet activity, such as
>>>>> downloading of email, it freezes.
>>>>>
>>>>> Has anyone come across this problem? What could I do to fix it, or
>>>>> just test for it?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Marion Sacharin
>>>>
>>>> maybe I'm wrong but it sounds like port collision to me. Are you using
>>>> the standard FTP port?
>>>>
>>>> --
>>>> Best regards :)
>>>>
>>>> Guillem Vicens Meier
>>>> Dep. Informatica Green Service S.A.
>>>> www.clubgreenoasis.com
>>>> --
>>>> In order to contact me remove the -nospam