Re: Reciving files with TIdFTPServer

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

"Luca Scarpellino" <lucascarpelliā€¦> wrote in message

> 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.




In response to

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