Unzip files using SharpZip dll
Hi
I downloaded the sharpZip lib dll for .Net framework 2.0 and i am using it in a SSIS package Script task to unzip files. I have added the reference to the C# project and have used the using and refered the dll in C# coding.
But when i try to run it i get an error saying that it could not load the dll. I tried to copy it to the GAC but then it says it is not strongly typed.
How can i fix this error? Or do u have a example of a SSIS packge that unzips files? I am unable to use Process task bcoz of the requirement.
Please let me know how i can get through this.
Thanks
Lucki
January 31st, 2012 12:57am
Can you use System.IO.Compression instead?Follow @DataSophist
Free Windows Admin Tool Kit Click here and download it now
January 31st, 2012 3:51am
Hi
Do you have a sample piece of code using this System.IO.Compression to unzip .TGZ files?
Thanks
Lucki
January 31st, 2012 6:30am
Dear,
refer the fallowing links,
http://msdn.microsoft.com/en-us/library/system.io.compression.deflatestream.aspx,
http://msdn.microsoft.com/en-us/library/ms404280.aspx
http://stackoverflow.com/questions/6683068/how-to-unzip-compressed-files-using-c
regards
Ranganadh Kodali Ranganadh Kodali MCTS SQL Server
Free Windows Admin Tool Kit Click here and download it now
January 31st, 2012 7:25am
why you want to go with sharpZip, check this:
http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/00f110d9-9be8-481c-9696-75be9973e728
February 2nd, 2012 4:21am