Hi,
I have a zip folder on the network . My need is to download and uncompress the same in a subfolder within DocumentsDirectory. I have achieved the first part , But i am unable to uncompress the files within the same folder. This is what I havetried :
new_folder_path = lfs.currentdir(system.DocumentsDirectory) … “/MyNewFolder”
local options = {
zipFile = event.response.filename,
zipBaseDir = event.response.baseDirectory,
dstBaseDir = new_folder_path,
listener = zipListener,
}
zip.uncompress( options)
Can some one please guide me uncompress the files to MyNewFolder
Please note I am creating MyNewFolder before this code.
Thank you