🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by indio Wed, 31 Jan 2007 23:40
BytesTotal, BytesRecvd in Indy IdFTP?
#1414
Author: indio
Date: Wed, 31 Jan 2007 23:40
12 lines
1142 bytes
Hi,

The FastNet NMFTP component has BytesTotal and BytesRecvd properties which:

-The BytesRecvd property contains the number of bytes received from the current data transfer

-The BytesTotal property contains the total number of bytes to send or receive in the current data transaction.

Do you know a way to get similar results, properties with the Indy IdFTP component?

Thanks
Re: BytesTotal, BytesRecvd in Indy IdFTP?
#1415
Author: Remy Lebeau (TeamB)
Date: Thu, 01 Feb 2007 01:04
16 lines
1431 bytes
"indio" <indio@spame.com> wrote in message
news:45c128d8$1@newsgroups.borland.com...

> Do you know a way to get similar results, properties with the Indy
IdFTP component?

Use the OnWork events.

Something to keep in mind, though - during an FTP download, the size
of the file is not known before the transfer begins.  You have to
figure out the size yourself beforehand, such as with the Size() or
List() methods.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads