Re: Reciving files with TIdFTPServer

Giganews Newsgroups
Subject: Re: Reciving files with TIdFTPServer
Posted by:  Remy Lebeau (Indy Team) (no.spam@no.spam.com)
Date: Wed, 4 Oct 2006

"Luca Scarpellino" <lucascarpelliā€¦@email.it> wrote in message
news:4DCA54D24E0AE340lucascarpelliā€¦@email.it...

> I need to know how i can know when i have finished to recive
> a file from a client on my ftp server.

Unfortunately, TIdFTPServer does not currently provide that information.
The only way to do what you are asking is to derive your own TStream class
and then do your work in its destructor.  Unfortunately, the class would
have no way of knowing whether the transfer was successful or not.

Gambit

Replies

None

In response to

Reciving files with TIdFTPServer posted by Luca Scarpellino on Wed, 4 Oct 2006