TAR folder?

robbin90

New member
Joined
Nov 20, 2010
Messages
3
Programming Experience
1-3
Can GZIPped TAR file zip folder, its subfolders & files in order? And I want to use only Gzip of system.io. Is it possible
 

robbin90

New member
Joined
Nov 20, 2010
Messages
3
Programming Experience
1-3
I forgot to ask one more question. it related to my assignment. My supervisor wants me to create zipping application which only use GZip from system.io. He wants my application to zip whole folder keeping its subfolders and files in order. And he is gonna use Winzip to browse thru it. Is it possible??? So far, there are a lot of suggestion to use third party lib to do it.
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,283
Location
Sydney, Australia
Programming Experience
10+
I don't actually know what support the TAR format has, but that's not a VB.NET question anyway. You can quite easily research the TAR file format on the web to see what it does support. Assuming that it does provide the support you need, you can then write your own code using Streams to convert multiple files into data in the TAR format, then use a GZipStream to write that data to a file.
 

robbin90

New member
Joined
Nov 20, 2010
Messages
3
Programming Experience
1-3
Thx for the advise.
I solved the problem. I used zipUtility.vb from dotnetzipfiles. It's reli easy to use and it works with the Standard Zip application like winrar and winzip. Now, I m trying to think about adding password to zip based on ziputility.vb. By referring to Vb.net professional book, I got basic idea of how to write password-protected zip file application that can only work with it. When i open this app with winzip, zip files can't be read. I know the password is put in entries(dotnetzip). Please give me some suggestions how to do it...
 
Top Bottom