function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Foram Rana RForam Rana R 

Extract Zip File in Apex Class

Hello Everyone,

I want to extract the Zip file in the Apex class.
Zip may contain at least 20 doc or pdf files.
Let me know the solution.

Thanks,
Foram Rana
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

You can do this natively in Apex using the Zippex library which is open source.

https://github.com/pdalcol/Zippex

Also, please refer to the below link which might help you further.

https://andyinthecloud.com/category/zip/

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas