Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Create a .tar.gz file in AEM

Avatar

Level 4

Hello Team,

 

We need to create a .tar.gz file in AEM. This tar gz file will have two or three dam assets and we want to put this back in dam again.

 

any pointers/references will help.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @vishwanath881 

 

Please find the API related to creation of gz file

https://stackoverflow.com/questions/43735272/java-how-to-decompress-files-zip-or-tar-gz-with-low-mem...

 

When it comes to pushing the file back to AEM, you can use assetManager API.

 

Hope this helps!


Thanks,
Kiran Vedantam.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @vishwanath881 

 

Please find the API related to creation of gz file

https://stackoverflow.com/questions/43735272/java-how-to-decompress-files-zip-or-tar-gz-with-low-mem...

 

When it comes to pushing the file back to AEM, you can use assetManager API.

 

Hope this helps!


Thanks,
Kiran Vedantam.