Announcement

Collapse
No announcement yet.

How does TrueUpdate handle interrupted downloads?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How does TrueUpdate handle interrupted downloads?

    Hi,

    Assuming I (as a Client) start the TrueUpdateClient.exe to download and extract a zip-file from a FTP-Server.

    I understand that TrueUpdate downloads the zip into a “TempFolder” before extracting it, which is than emptied.

    But what happens, if the download is (multiple times) interrupted and I start the Client.exe again?

    My biggest concern is that several “TempFolders” congregate on the hard drive, which contains half-downloaded but useless zip-files.

    Thank you.

  • #2
    You'll want to clean up the temp folder after a failed download (File.Delete()) or save it for later, and try to resume the download... The easiest solution is to test to be sure the zip file was successfully downloaded, and if not, delete the local file.. Then when the TU client exists, the temp folder is gone.

    Comment


    • #3
      Ok, thanks.

      Comment

      Working...
      X