Article View: borland.public.cppbuilder.internet.socket
Article #2037Re: Indy 9 TIdFTP Client - when is a Put() finished?
From: Lesley Anne
Date: Thu, 24 Aug 2006 15:44
Date: Thu, 24 Aug 2006 15:44
20 lines
2031 bytes
2031 bytes
> Indy works well in threads, but threading is not > strictly required. > > > does Put() contain provisions for making sure that > > the Windows Message queue will keep being processed > > as necessary? > > You have to use a TIdAntiFreeze component for that. The help file's pages on TIdAntiFreeze are a little confusing (and it doesn't seem to be used in any of the demos I have). Does it just need to be present on the form and Active, or do I need to explicitly call its Process or DoProcess functions (in which case where would those calls go in relation to IdFTP1->Put()). Are there any advantages/disadvantages that I should know about in the decision as to whether to use the TIdAntiFreeze component or whether to separate FTP processing into a separate thread? (The application does have other tasks unrelated to FTP, and sometimes the files to be FTP'd could be fairly large - if either of those facts makes a difference.)
Technical Details
Message-ID:
<44edc970$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44ec9e0a@newsgroups.borland.com> <44ecb32d$3@newsgroups.borland.com> <44ecc221$1@newsgroups.borland.com> <44ecd6cd$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,14159208397bbfa4 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Lesley Anne" <mspfila-ng@yahoo.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <44ec9e0a@newsgroups.borland.com> <44ecb32d$3@newsgroups.borland.com> <44ecc221$1@newsgroups.borland.com> <44ecd6cd$1@newsgroups.borland.com> Subject: Re: Indy 9 TIdFTP Client - when is a Put() finished? Date: Thu, 24 Aug 2006 11:44:41 -0400 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 144.160.5.25 Message-ID: <44edc970$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1156434288 144.160.5.25 (24 Aug 2006 08:44:48 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail