Wired up upload and progress bar.