• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 738
  • Last Modified:

INDY10 file download with progress

I am sure this question has been asked many times but I would like to know how to download a file from the internet (.exe's mostly) using INDY10 with Delphi7 and have the download precentage shown in a standard progressbar possibly with some text like this

---||||||| 3k of 10k downloaded.

Thanks.
0
blue220
Asked:
blue220
  • 3
  • 2
1 Solution
 
moorhouselondonCommented:
If there's an OnWork event you can use that to show a progressbar.  Whether it can show you % depends on whether the file size is known at start of download.  If you just want to indicate to the user that something's happening then I just cycle the progressbar round from Max to Min, then increment it up again.
0
 
blue220Author Commented:
I used the JVHttpURLGrabber which has an OnProgress event which works fine. I will ask that this question be deleted.
0
 
moorhouselondonCommented:
Notice: blue220 has requested that this question be deleted for the following reason:
Solved myself.

I posted my comment before you enlightened us of this.
0
 
blue220Author Commented:
Your comment did not solve my problem or even provide me with an example.
0
 
blue220Author Commented:
enjoy the free points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now