compare hash value before upload