473,387 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

sharpziplib unzip tar sample framework 2.0

Hi,
I write a program to unzip a Tar file generated on a Unix environment file
using SharpZipLib, but returns a error "Header checksum is invalid" when
execute the program.
This error appears when I try to extract the files.
Can any help me where is a sample to unzip a tar file
TIA
Julio

Feb 4 '08 #1
5 7020
Hi,

I have always use SharpZipLib and I haven't find a problem yet.Are you sure
the problem is unzipping it?
How you get the file from the Unix system?
Can you unzip it in windows?

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"julio" <ju***@discussions.microsoft.comwrote in message
news:51**********************************@microsof t.com...
Hi,
I write a program to unzip a Tar file generated on a Unix environment file
using SharpZipLib, but returns a error "Header checksum is invalid" when
execute the program.
This error appears when I try to extract the files.
Can any help me where is a sample to unzip a tar file
TIA
Julio

Feb 4 '08 #2
Ignacio,
This program that I developed is to replace one thats exits from 1992
Each day the unix system zips the data into a tar file and the actual
program under VB 6 using the unrar file unzip this file into 60 diferent
files.
This program works fine, but we need to replace with one thats works using
the .Net Framework 2.0, like all others proccess that are redisegned during
2007.
TIA
Julio

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

I have always use SharpZipLib and I haven't find a problem yet.Are you sure
the problem is unzipping it?
How you get the file from the Unix system?
Can you unzip it in windows?

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"julio" <ju***@discussions.microsoft.comwrote in message
news:51**********************************@microsof t.com...
Hi,
I write a program to unzip a Tar file generated on a Unix environment file
using SharpZipLib, but returns a error "Header checksum is invalid" when
execute the program.
This error appears when I try to extract the files.
Can any help me where is a sample to unzip a tar file
TIA
Julio


Feb 4 '08 #3
Ignacio made a good suggestion that I don't believe you responded. Compare
the tar file that was downloaded by your new code to the file that is
downloaded by the old code. They should be identical. Further, winzip
outside of your application will be able to open both.

Potentially there is a problem in the code you moved from VB 6 to .Net for
doing the download. This test will confirm or eliminate this possibility.

"julio" wrote:
Ignacio,
This program that I developed is to replace one thats exits from 1992
Each day the unix system zips the data into a tar file and the actual
program under VB 6 using the unrar file unzip this file into 60 diferent
files.
This program works fine, but we need to replace with one thats works using
the .Net Framework 2.0, like all others proccess that are redisegned during
2007.
TIA
Julio

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

I have always use SharpZipLib and I haven't find a problem yet.Are you sure
the problem is unzipping it?
How you get the file from the Unix system?
Can you unzip it in windows?

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"julio" <ju***@discussions.microsoft.comwrote in message
news:51**********************************@microsof t.com...
Hi,
I write a program to unzip a Tar file generated on a Unix environment file
using SharpZipLib, but returns a error "Header checksum is invalid" when
execute the program.
This error appears when I try to extract the files.
Can any help me where is a sample to unzip a tar file
TIA
Julio
>
Feb 5 '08 #4
HI,

That was exactly what I wanted to discard.

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Family Tree Mike" <Fa************@discussions.microsoft.comwrote in
message news:A9**********************************@microsof t.com...
Ignacio made a good suggestion that I don't believe you responded.
Compare
the tar file that was downloaded by your new code to the file that is
downloaded by the old code. They should be identical. Further, winzip
outside of your application will be able to open both.

Potentially there is a problem in the code you moved from VB 6 to .Net for
doing the download. This test will confirm or eliminate this possibility.

"julio" wrote:
>Ignacio,
This program that I developed is to replace one thats exits from 1992
Each day the unix system zips the data into a tar file and the actual
program under VB 6 using the unrar file unzip this file into 60 diferent
files.
This program works fine, but we need to replace with one thats works
using
the .Net Framework 2.0, like all others proccess that are redisegned
during
2007.
TIA
Julio

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

I have always use SharpZipLib and I haven't find a problem yet.Are you
sure
the problem is unzipping it?
How you get the file from the Unix system?
Can you unzip it in windows?

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"julio" <ju***@discussions.microsoft.comwrote in message
news:51**********************************@microsof t.com...
Hi,
I write a program to unzip a Tar file generated on a Unix environment
file
using SharpZipLib, but returns a error "Header checksum is invalid"
when
execute the program.
This error appears when I try to extract the files.
Can any help me where is a sample to unzip a tar file
TIA
Julio


Feb 5 '08 #5
Ignacio,
Using winrar works fine, and the file is unTarged
TIA
Julio

"Ignacio Machin ( .NET/ C# MVP )" wrote:
HI,

That was exactly what I wanted to discard.

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Family Tree Mike" <Fa************@discussions.microsoft.comwrote in
message news:A9**********************************@microsof t.com...
Ignacio made a good suggestion that I don't believe you responded.
Compare
the tar file that was downloaded by your new code to the file that is
downloaded by the old code. They should be identical. Further, winzip
outside of your application will be able to open both.

Potentially there is a problem in the code you moved from VB 6 to .Net for
doing the download. This test will confirm or eliminate this possibility.

"julio" wrote:
Ignacio,
This program that I developed is to replace one thats exits from 1992
Each day the unix system zips the data into a tar file and the actual
program under VB 6 using the unrar file unzip this file into 60 diferent
files.
This program works fine, but we need to replace with one thats works
using
the .Net Framework 2.0, like all others proccess that are redisegned
during
2007.
TIA
Julio

"Ignacio Machin ( .NET/ C# MVP )" wrote:

Hi,

I have always use SharpZipLib and I haven't find a problem yet.Are you
sure
the problem is unzipping it?
How you get the file from the Unix system?
Can you unzip it in windows?

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"julio" <ju***@discussions.microsoft.comwrote in message
news:51**********************************@microsof t.com...
Hi,
I write a program to unzip a Tar file generated on a Unix environment
file
using SharpZipLib, but returns a error "Header checksum is invalid"
when
execute the program.
This error appears when I try to extract the files.
Can any help me where is a sample to unzip a tar file
TIA
Julio
>



Feb 5 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jeff | last post by:
hi, alls Is there method to support ZIP/UNZIP in VS.NET 2003 Which name space can be used? Is there any smaple? Thanks
10
by: Yogi_Bear_79 | last post by:
pardon my ignorance as I am a self-taught hobbyist programmer. I am curious after reading up on SharpZipLib. Can I embed a zipped txt file in my program? Then either read from within the zip...
3
by: jyoti.khera | last post by:
Hi, Can anyone tell me if there is any inbuilt utility in windows shell API with the help of which we can Unzip the files. I need to use that and Unzip the files using c# code. Regards Jyoti
7
by: italo | last post by:
Greetings. There is a way to zip and unzip files. its like a Winzip or WinRar or PowerArchiver.. but i need to .NET ZIP and unZIP these files. ex. <name_of_file>.zip i dont know if theses...
1
by: Aji Mathews via .NET 247 | last post by:
Hi I am using SharpZipLib. Could someone help with some sample code to unzip a file to a specified location. Thanks -------------------------------- From: Aji Mathews ...
2
by: Giuseppe | last post by:
I'm write a code with SharpZipLib for Zip files in MemoryStream... I don't succeed to make Unzip.... This my code for Zip : Private function ZipFiles(Files() as string) as MemoryStream Dim...
3
by: SDRoy | last post by:
Hello Can someone tell me how I can unzip a .zip file in C#. The zip file is already there and I just need to unzip..not zip and unzip. -- Thanks, SDRoy
13
by: fniles | last post by:
In VB.NET 2003 how can you programmatically unzip a ZIP file ? Thank you.
0
by: Senthil kumar | last post by:
Tets rskumar_47@yahoo.co.in *** Sent via Developersdex http://www.developersdex.com ***
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.