Page 1 of 1
Action to reject a large (MB) PDF
Posted: Wed Jun 11, 2025 4:00 pm
by DJS
Hi,
is there an action or similar that can check for files above a certain size, ie fail over 8MB
Thank you
Re: Action to reject a large (MB) PDF
Posted: Wed Jun 11, 2025 4:55 pm
by loicaigon
Hi,
I think that it's a bit weird to worry about file size once the file is opened in PitStop Pro, i.e. Acrobat.
So I will presume that the need is more for automated processes. There you can use Job ByteCount property in Switch to sort files.
I am very curious about your process that can only absorb -8MB files. Could you provide details.
Loic
Re: Action to reject a large (MB) PDF
Posted: Wed Jun 11, 2025 5:01 pm
by DJS
Hello Loic,
Very astute
We have multiple PPPs running on the infigo platform checking files before they go into the print workflow.
There is a platform check for the maximum size, set to 8MB, but this warning sits well below the "fold"
So I was thinking if I could check the size wasn't above 7.99MB I could fail the file and that would come up in the big red warning box the PPPs generate (along with the associated XML)
Does that help?
Re: Action to reject a large (MB) PDF
Posted: Thu Jun 12, 2025 10:42 am
by loicaigon
Hello,
Yes it helped to exclude Switch from the equation. I am afraid that checking the size must be done indeed on the platform.
If the warning is not visible enough on infigo, you may want to let Infigo know so that maybe they can do it more visible.
They could also prevent upload if file exceeds. I would think that is part of the html experience.
You could still later check with Swith if you had, but if would be far beyond the upload.
In PitStop we don't have such checks.
Re: Action to reject a large (MB) PDF
Posted: Thu Jun 12, 2025 10:44 am
by DJS
thank you