Mega Search
23.2 Million


Sign Up

Make a donation  
How can I get transferring data size in TIdFTPServer?  
News Group: borland.public.cppbuilder.internet.socket

Hello.
I want get rate of speed when TIdFTPServer storefiles.
thanks. 



Vote for best question.
Score: 0  # Vote:  0
Date Posted: 4-Jan-2008, at 9:12 PM EST
From: hanfq
 
Re: How can I get transferring data size in TIdFTPServer?  
News Group: borland.public.cppbuilder.internet.socket
"hanfq"  wrote in message 
news:477e30b9$1@newsgroups.borland.com...

> I want get rate of speed when TIdFTPServer storefiles.

TIdFTPServer does not provide access to any notifications for that.  You 
will have to write your own TStream-derived class, overriding the virtual 
Read() and Write() methods to notify the rest of your code as needed, and 
then you can instantiate that class in the OnStoreFile and OnRetrieveFile 
events.


Gambit 



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 4-Jan-2008, at 10:44 AM EST
From: Remy Lebeau \(TeamB\)