Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Progress Bar for an FTP Transfer
| Subject: | Re: Progress Bar for an FTP Transfer |
| Posted by: | "Eddie Shipman" (mrbaseball34@no_spam_gmail.com) |
| Date: | Mon, 8 May 2006 10:01:12 |
In article <445cb35a$1@newsgroups.borland.com>, Barry@AMSS.uk.com
says...
> Hi
>
> Is there a way to set up a Progress Bar to report on how an ftp transfer is
> getting on? I have a fairly large file I ftp & would like to give the User
> some visual indication of how the transfer is getting on. I currently just
> disable a button and re-enable it when the transfer is completed.
>
Would work the same as the code here:
http://www.delphipages.com/threads/thread.cfm?ID=150098&G=150094
Use a idFTP1.Size(AFileName) call to get the bytes to use for Max.
none