A compressed file – upon decompression – must meet the specified limit.
Example: You set the limit to 20MB.
Scenario 1: If the size of archive.zip upon decompression is 30MB, none of the files contained in archive.zip will be scanned. The other two rules are no longer checked.
Scenario 2: If the size of my_archive.zip upon decompression is 10MB:
If my_archive.zip does not contain compressed files, Apex One skips Rule 2 and proceeds to Rule 3.
If my_archive.zip contains compressed files, the size of all decompressed files must be within the limit. For example, if my_archive.zip contains AAA.rar, BBB.zip and EEE.zip, and EEE.zip contains 222.zip:
my_archive.zip
= 10MB upon decompression
\AAA.rar
= 25MB upon decompression
\BBB.zip
= 3MB upon decompression
\EEE.zip
= 1MB upon decompression
\222.zip
= 2MB upon decompression
my_archive.zip, BBB.zip, EEE.zip, and 222.zip will be checked against Rule 2 because the combined size of these files is within the 20MB limit. AAA.rar is skipped.