By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 2,334 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 IT Pros & Developers. It's quick & easy.

sharpziplib unzip tar sample framework 2.0

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.