Implemented "upload" command