I have created one multimedia component having extension zip.when we are publishing multimedia component I want extract and publish it into deployer with same folder structure. For example we are having a.zip file when we are extraction it will extract - HTML - Images - Css - Js - Media - PDF - Fonts above folders have files. I have created C# TBB and this code have logic for
extracting zip file into local folder
read one by one folder,create structure group for that folder and publish all files in that folder.
Binary binary = engine.PublishingContext.RenderedItem.AddBinary(ms, "filename", rootStructureGroup, rootStructureGroup.Id, maincomponent, "image/png");
But in deployer it is publishing one file in every folder. Could you please help me in placing all the files in folder.