Added "upload" command, including progress bar.