🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #519

Re: How can I get transferring data size in TIdFTPServer?

#519
From: Remy Lebeau (TeamB)
Date: Fri, 04 Jan 2008 18:44
14 lines
1421 bytes
"hanfq" <haozhe_han@163.com> 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 
Technical Details
Message-ID: <477e7eda$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <477e30b9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f189f5a158b28a33
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <477e30b9$1@newsgroups.borland.com>
Subject: Re: How can I get transferring data size in TIdFTPServer?
Date: Fri, 4 Jan 2008 10:44:03 -0800
Lines: 16
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <477e7eda$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1199472346 207.178.157.90 (4 Jan 2008 10:45:46 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail