Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: TidFTPSever turn of server safe?

www.cryer.info
Managed Newsgroup Archive

Re: TidFTPSever turn of server safe?

Subject:Re: TidFTPSever turn of server safe?
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 28 Feb 2007 20:18:10

"Frankie" <frankjohnsson2000@yahoo.se> wrote in message
news:45e6351d@newsgroups.borland.com...

> How can i detect if there are any active users on the server...

The same way you do with any other Indy TCP-based server - check the
server's Threads (Indy 9) or Contexts (Indy 10) list.

> like if they are downloading something?

TIdFTPServer does not keep track of that information.  You have to
keep track of that in your own code.

> Can i see if any Tstreams are active...

You have to track that yourself.

> or maybe count the usersLogins-disconnects=users left on server?

The server does keep track of that much for you.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive