Re: idftp1.get and progressbar

Giganews Newsgroups
Subject: Re: idftp1.get and progressbar
Posted by:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Fri, 5 Sep 2008

"Stein Ivar Johnsen" <si…@start.no> wrote in message
news:4C99D548B460E340si…@start.no...

> I need help to implement a progressbar with the use of idftp1.get

Use the OnWork events for that.  Since you are performing a download, you
will have to obtain the source file's size beforehand, such as via
TIdFTP.Size() or TIdFTP.List(), if you want to display a percentage, as the
FTP protocol does not provide data sizes during transfers.

Gambit

Replies

None

In response to

idftp1.get and progressbar posted by Stein Ivar Johnsen on Mon, 25 Aug 2008