upload file in terminal