Hello to everybody!
Please, help with your knowledges, how can i link progressbar and idFTP (Delphi 7) to make an indicator of uploading process?
Thanks before...
- Drop idAniFrees component from Indy Misc page
- Drop StatusBar and add a panel to it
- Declare a global variable : FSize: Integer;
- Befor you download a file put this line:
FSize:= FTP.Size(.. PutYour file name here...);
- in idFTP component, at OnWork event write:
StatusBar1.Panels[0].Text:= IntToStr(AWorkCount) + ' out of ' + IntToStr(FSize);
Kind Regards, Paul Benn
**** Never Giveup, keep trying, the answer is out there!!! ****
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.