Page 2 of 2
Re: Need help to compress files into ESP32
Posted: Tue Jun 18, 2019 3:42 am
by Ritesh
Sorry. Didn't look into that after.
So, zlib and minzip are working fine for ESP32 which might be helpful for others.
Thanks for update regarding same.
Re: Need help to compress files into ESP32
Posted: Mon Apr 05, 2021 4:06 am
by frankcohen
Kind of late to the party, I'm sorry. I just saw this post today. See my developer journal article at
https://www.reddit.com/r/arduino/commen ... tions_for/ -Frank
Re: Need help to compress files into ESP32
Posted: Wed Jul 06, 2022 8:37 am
by AjitSingh
Hie,
I'm also stuck at similar problem. In my case i have to download an archive file(don't matter anything is file zip or tar.gz depends on what esp support). downloading file from server is not issue. how to unzip it? that archive support to have more than 2 files in it.
I'm using esp-idf v4.2.
Re: Need help to compress files into ESP32
Posted: Thu Jul 07, 2022 4:40 am
by Ritesh
AjitSingh wrote: ↑Wed Jul 06, 2022 8:37 am
Hie,
I'm also stuck at similar problem. In my case i have to download an archive file(don't matter anything is file zip or tar.gz depends on what esp support). downloading file from server is not issue. how to unzip it? that archive support to have more than 2 files in it.
I'm using esp-idf v4.2.
Hello,
You can use zlib and minzip libraries as per your requirements which can be feasible to do it.
Re: Need help to compress files into ESP32
Posted: Thu Jul 07, 2022 10:14 am
by AjitSingh
Ritesh wrote: ↑Thu Jul 07, 2022 4:40 am
AjitSingh wrote: ↑Wed Jul 06, 2022 8:37 am
Hie,
I'm also stuck at similar problem. In my case i have to download an archive file(don't matter anything is file zip or tar.gz depends on what esp support). downloading file from server is not issue. how to unzip it? that archive support to have more than 2 files in it.
I'm using esp-idf v4.2.
Hello,
You can use zlib and minzip libraries as per your requirements which can be feasible to do it.
Is there any example for that so i can refer that. i didn't find any of such.
Re: Need help to compress files into ESP32
Posted: Thu Jul 07, 2022 11:44 am
by AjitSingh
Ritesh wrote: ↑Thu Jul 07, 2022 4:40 am
AjitSingh wrote: ↑Wed Jul 06, 2022 8:37 am
Hie,
I'm also stuck at similar problem. In my case i have to download an archive file(don't matter anything is file zip or tar.gz depends on what esp support). downloading file from server is not issue. how to unzip it? that archive support to have more than 2 files in it.
I'm using esp-idf v4.2.
Hello,
You can use zlib and minzip libraries as per your requirements which can be feasible to do it.
https://github.com/madler/zlib from here i get lib and trying to includes this in my project. I'm not able to compile this stuff.
Is this the one repository which i need to include in my project.
Re: Need help to compress files into ESP32
Posted: Tue Jul 12, 2022 10:34 am
by Ritesh
Hello @Ajit,
We have used those libraries before few years ago and also ESP32 IDF was tool much older like 3.0 version. But, You can take reference zlip libraries and can verify with compilation from your end.