Added a progress bar to visualize upload progress.