Progress of Downloading a File

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BarryM
    New Member
    • Mar 2008
    • 32

    Progress of Downloading a File

    Hi could anybody tell me how to add a progress bar thats shows the percentage of a file that has been downloading of the internet from my program

    this is the code that i have been using to download files
    My.Computer.Net work.DownloadFi le(lstfiles.Tex t, dir)
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You need to capture the file size and the transfer rate and pass the same to the progress bar.

    Comment

    • Ali Rizwan
      Banned
      Contributor
      • Aug 2007
      • 931

      #3
      (size transfered/Totalsize of file)*100

      This will return you the %completed download.

      Regards
      >> ALI <<

      Comment

      Working...