Re: idftp1.get and progressbar

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

"Stein Ivar Johnsen" <si…> wrote in message

> 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.




In response to

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