fixed error messages & upload/download still broken

Updated error messages to be more appropriate.
Upload and download is broken.