Download the server update information. For each file, If the server file is newer, then Download this file. Check the download file integrity. If check is complete, then Copy the file to an update directory. Save its download information. Else Delete this file. End if End if End for
Example 1: Pseudocode that describes file download.