There are some way to check file is corrupted with node.js?
I tried many File System methods, like fs.readFile
, fs.open
abd fs.access
but all them returns ok status, and I'm sure my file is corrupted in my tests.
To be more clear, my objective is to check if PDF is readable (not only check if can be generated), if can be opened. I damaged the file here to test.
via Lucas Costa
No comments:
Post a Comment