Check hash before uploading