Page 1 of 1

Thanks for the help!

Posted: Wed May 14, 2025 6:17 am
by Gord1974
Hello,

I'm trying to find a way to detect the corrupt file (like PDF or ZIP) in my flows.
I often have jobs that are catched in my flows before the complete copy on the disk.
All of this jobs are send to problem jobs and I receive many fail messages just because of that.
Is it possible to detect and ignore this files with an app or with variables ?

Thanks for the help!

Re: Thanks for the help!

Posted: Thu May 15, 2025 12:17 am
by loicaigon
PitStop Server could detect corrupt PDF files. But for zipped files, if you are on mac, you could use the command line tool with "zip" binary that has a "test" command:

zip -T filename.zip

https://ss64.com/mac/zip.html

For windows, you could try to find a similar tool.

Re: Thanks for the help!

Posted: Thu May 15, 2025 10:24 am
by tdeschampsBluewest
I believe that Winrar and 7zip have a such function

Code: Select all

"C:\Program Files\WinRAR\WinRAR.exe" t myfile.zip