return error:true if upload fails