🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2032

Re: Indy 9 TIdFTP Client - when is a Put() finished?

#2032
From: Remy Lebeau (TeamB)
Date: Wed, 23 Aug 2006 19:56
18 lines
1469 bytes
"Lesley Anne" <mspfila-ng@yahoo.com> wrote in message
news:44ec9e0a@newsgroups.borland.com...

> If I were pulling rather than pushing, the TIdFTP component
> has an OnAferGet event, but there doesn't seem to be a
> corresponding OnAfterPut event.

Indy is not an event-driven library.  You don't need to use the OnAfterGet
event.  Like everything else in Indy, Get() and Put() are blocking
functions.  They do not exit until their work is finished.

> How can I tell when the transfer is complete?

When Put() exits.


Gambit
Technical Details
Message-ID: <44ecb32d$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44ec9e0a@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>
Subject: Re: Indy 9 TIdFTP Client - when is a Put() finished?
Date: Wed, 23 Aug 2006 12:56:24 -0700
Lines: 20
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: <44ecb32d$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1156363053 68.69.17.41 (23 Aug 2006 12:57:33 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail