I am downloading a big batch of zipped files though an API. Unfortunately almost always a few of the zips are corrupted and can't be open. I have a macro (attached) that reads the csv's inside those zipped files. The macro gives an error for each file it wasn't able to open.
What I want to do is to create a similar macro that would check if a file is corrupted or not, but without giving me an error.
On a related note, checking the "Treat Read Errors as Warnings" in the Input Data tool doesn't suppress the read errors.