try to upload file to server