FTP Server Problem

Giganews Newsgroups
Subject: FTP Server Problem
Posted by:  vez (vlez…@gmail.com)
Date: Thu, 4 Aug 2011

I am using Indy10 on RAD Studio XE
I need FTP server and I've created it using FTP Server example.
It works fine, but I have a problem:
If somebody is connected to this server, it is not possible to set IdFTPServer.Active := False;
Prgram will not answer after that and I have to kill it.
How to solve this? and how to get from the IdFTPServer number on connected clients?