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 5 7043
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***@discussi ons.microsoft.c omwrote in message
news:51******** *************** ***********@mic rosoft.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
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***@discussi ons.microsoft.c omwrote in message
news:51******** *************** ***********@mic rosoft.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
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***@discussi ons.microsoft.c omwrote in message
news:51******** *************** ***********@mic rosoft.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
>
HI,
That was exactly what I wanted to discard.
--
Ignacio Machin http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Family Tree Mike" <Fa************ @discussions.mi crosoft.comwrot e in
message news:A9******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c omwrote in message
news:51******** *************** ***********@mic rosoft.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
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.mi crosoft.comwrot e in
message news:A9******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c omwrote in message
news:51******** *************** ***********@mic rosoft.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
>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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 file or unzip and read
it? I currently have an embedded text file that contains a list that is
read into an array. I'm always looking to save space. And I could reduce my
file size 75% if it was zipped! I have looked at the SharpZipLib web site,...
|
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
|
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 words can explain what i want to know. :p
Kind Regards.
|
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
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
| |
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 StrFile As String
Dim ms As MemoryStream = New System.IO.MemoryStream
Dim s As ZipOutputStream = New ZipOutputStream(ms)
s.SetLevel(5)
|
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
|
by: fniles |
last post by:
In VB.NET 2003 how can you programmatically unzip a ZIP file ?
Thank you.
|
by: Senthil kumar |
last post by:
Tets
rskumar_47@yahoo.co.in
*** Sent via Developersdex http://www.developersdex.com ***
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |