upgrading of uploading client and server aboyt the operations of handling errors