I'm having a problem with a folder with an extension .gz in the client side which contains xml files in it. I have to download the folder into local directory then i need to extract the folder.
I was able to download the .gz folder into local, but I'm unable to extract the folder.
I tried using the
ZipArchive::extractto($targetfolder);
But it is not accepting the .gz.
When i search through stack overflow i found only answers for .gz files not for .gz folders.