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:"Frankie" (frankjohnsson20..@yahoo.se)
Date:Thu, 1 Mar 2007 14:37:57

Remy Lebeau (TeamB) skrev:
> "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.

And where do i find this 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.

You mean i have to rewrite the Tstream class?

>
>> or maybe count the usersLogins-disconnects=users left on server?
>
> The server does keep track of that much for you.

They do? Is there a value or something i can read from? Or is is the
Contexts List you where talking about earlier in this post?

>
>
> Gambit
>
>

/Thanx in advance
Frankie

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive