Article View: borland.public.cppbuilder.internet.socket
Article #2038Re: Indy 9 TIdFTP Client - when is a Put() finished?
From: Remy Lebeau (TeamB)
Date: Thu, 24 Aug 2006 16:50
Date: Thu, 24 Aug 2006 16:50
29 lines
1994 bytes
1994 bytes
"Lesley Anne" <mspfila-ng@yahoo.com> wrote in message news:44edc970$1@newsgroups.borland.com... > Does it just need to be present on the form and Active Yes. > do I need to explicitly call its Process or DoProcess functions No. Indy calls them automatically when needed. > 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? TIdAntiFreeze calls Application->ProcessMessages() regularly during a blocking operation. That can have performance issues, as well as introduce possible reentrant problems in your event handlers if you are not careful. > 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. Lengthy operations tend to work better in general when they are moved outside of the main thread. Gambit
Technical Details
Message-ID:
<44edd930$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!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> <44edc970$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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.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> <44edc970$1@newsgroups.borland.com> Subject: Re: Indy 9 TIdFTP Client - when is a Put() finished? Date: Thu, 24 Aug 2006 09:50:55 -0700 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <44edd930$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1156438320 68.69.17.41 (24 Aug 2006 09:52:00 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail