Home > Back-end > The file header logo can determine whether the file damaged?
The file header logo can determine whether the file damaged?
Time:10-30
Want to use Java to test whether a batch file is damaged, only according to the file header information (such as JPG: FFD8FF) can determine whether a file is damaged, can open? Or are there any other method?
CodePudding user response:
Local also tested, the damage in your file to check out, check out, don't know what reason be