Converting RAR to ZIP

[ Hide Show ]

If you want to convert RAR archive to ZIP read this article.


Aspose.ZIP API provides  RarArchive class to extract RAR archives. We can extract an entry to memory without saving it into intermediate storage and pass into ZIP archive right away.

Make sure you have enough virtual memory to keep content of all entries.

Transfer an Entry

The following code example demonstrates how to extract entries from RAR archive and immediately put it to ZIP archive. Entries that are directories added with appended slash to specify their kind.

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.