If upgrading from version 1.25 or above:
 - edit new config.php
 - reupload all files except db.txt and online.txt

If upgrading from version 1.20 or below:
 - edit new config.php
 - reupload all files except db.txt
 - chmod online.txt to 666