Re: FTP Store file

Giganews Newsgroups
Subject: Re: FTP Store file
Posted by:  poojo hackma (
Date: Tue, 10 Jan 2006

Using BCB6 with Indy 9, I have something like this:

//---------------------  OnWorkEnd event  --------------------------------
void __fastcall TForm1::FtpWorkEnd(TObject *Sender,
                TWorkMode AWorkMode)
  if (AWorkMode == Idcomponent::wmRead)
    // Horray! Your file is there!

As for the Streams, I delete those on my own.

"Joe" <none> wrote in message news:7CE3E0112EE3E240none...
> Using Indy 10
> In my FTP server I would like to know when a file upload is completed on
> disk. So far as I can see the OnStoreFile event is generated before the
> file is transferred and a new FileStream is created and passed to Indy to
> use to store the file. I'm really looking for an OnStoreFileDone event or
> something like that.
> Also I'm not sure how the stream passed to Indy is destroyed after use.
> Thanks for any help
> Joe



In response to

FTP Store file posted by Joe on Fri, 25 Nov 2005