This is a migrated thread and some comments may be shown as answers.

How to compress main folder and too many sub folder with files

1 Answer 86 Views
ZipLibrary
This is a migrated thread and some comments may be shown as answers.
M Kumar
Top achievements
Rank 1
Iron
Veteran
M Kumar asked on 27 Jun 2019, 10:45 AM

hi sir,

 

              I compress the main level with five level of sub folder using telerik it compress in to one single folder.But i want same like as before compress(i want to follow same folder structure while extract).

the below image show as original

http://prntscr.com/o7djqa

this one i need

http://prntscr.com/o7dkmt

but it show 

http://prntscr.com/o7dkmt

i send the project it has two button button one work i use oridanry zip format but button2 not work properly i use telerik

https://www.dropbox.com/s/i5pwsbbthkab5jy/WebSitesss.rar?dl=0

 

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 02 Jul 2019, 09:02 AM
Hi Kumar,

You can easily implement this task through the ZipFile class providing you with convenient extension methods for archiving and extracting files or directories from a .zip file. You can find a more detailed information about this class in the Zip Extensions help topic. 

Hope this is helpful.

Regards,
Tanya
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ZipLibrary
Asked by
M Kumar
Top achievements
Rank 1
Iron
Veteran
Answers by
Tanya
Telerik team
Share this question
or